Posts

Showing posts from January 19, 2019

Amami Ōshima

Image
Clash Royale CLAN TAG #URR8PPP Amami Ōshima Native name: 奄美大島, Amami Ōshima Nickname: Uushima Naze Port on Amami Ōshima Geography Location East China Sea Coordinates 28°19′35″N 129°22′29″E  /  28.32639°N 129.37472°E  / 28.32639; 129.37472 Coordinates: 28°19′35″N 129°22′29″E  /  28.32639°N 129.37472°E  / 28.32639; 129.37472 Archipelago Amami Islands Area 712.35 km 2 (275.04 sq mi) Coastline 461.1 km (286.51 mi) Highest elevation 694 m (2,277 ft) Highest point Yuwandake Administration Japan Prefectures Kagoshima Prefecture District Ōshima District Largest settlement Amami (pop. 44,561) Demographics Population 73,000 (2013) Ethnic groups Japanese Amami Ōshima ( 奄美大島 , Okinawan: Uushima ( ウーシマ ) ; Amami: Ushima ( ウシマ ) ) is one of the Satsunan Islands, and is the largest island within the Amami archipelago between Kyūshū and Okinawa. [1] The island, 712.35 km 2 in area, has a population of approximately 73,000 people. Administratively it is divided into the city of Amami, t

Appropriate way to run a block of code in Chef recipe

Appropriate way to run a block of code in Chef recipe I can't seem to find a proof of running a block of shell code in Chef. For example, I have a script below: for user in `awk -F: '($3 < 500) print $1 ' /etc/passwd` ; do if [ $user != "root" ]; then usermod -L $user if [ $user != "sync" ] && [ $user != "shutdown" ] && [ $user != "halt" ]; then usermod -s /sbin/nologin $user fi fi done ..and I doubt the way to run this block is as follows bash 'run script' do code <<-EOH "for user in `awk -F: '($3 < 500) print $1 ' /etc/passwd` ; do if [ $user != "root" ]; then usermod -L $user if [ $user != "sync" ] && [ $user != "shutdown" ] && [ $user != "halt" ]; then usermod -s /sbin/nologin $user fi fi done" EOH end But I'm really unsure if this construct is valid. 1 Answer 1 You don't need the extra &qu

How to get from Kigali to Malawi overland by public transport?

Image
4 I plan to travel from Kigali to Blantyre, Malawi in May next year. I am wondering how it is to travel overland by public transport in Tanzania. In particular, how are the roads: bumpy and vehicles are slow, or well maintained? How many days will it take? public-transport road-trips tanzania malawi share | improve this question edited Jan 29 '17 at 12:28 JonathanReez ♦ 48.8k 38 231 495 asked Dec 20 '16 at 13:47 Y van L Y van L 24 3 add a comment  |  4 I plan to travel from Kigali to Blantyre, Malawi in May next year. I am wondering how it is to travel overland by public transport in Tanzania. In particular, how are the roads: bumpy and vehicles are slow, or well maintained? How many days will it take? public-transport road-trips tanzania malawi share | improve this question edited Jan 29 '17 at 12:28 JonathanReez ♦ 48.8k 38 231 495 asked Dec 20 '16 at 13:47

Cookies not being created in mobile/safari

Image
0 I have this code creating my cookies, I using this javascript "out of the box" with Wordpress , so it is not aware of this code really: function createCookie(name,value) delete_cookie("stripe_token"); var date = new Date(); date.setTime(date.getTime()+1000); var expires = "; expires="+date.toGMTString(); document.cookie = name+"="+value+expires+"; path=/; domain=.grahmlux.com"; //document.cookie = name+"="+value+expires+"; path=/"; function createUserIDCookie(name,value) document.cookie = name+"="+value+"; path=/; domain=.grahmlux.com"; //document.cookie = name+"="+value+"; path=/"; The cookies aren't being created, what am I doing wrong? When I'm not on mobile it works. javascript wordpress cookies mobile safari share | improve this question edited Nov 11 '18 at 12:49 ewizard asked Nov 11 '18 at 1:45