Autoconnect wifi ubuntu
#!/bin/bash
wlan=`/sbin/ifconfig wlan0 | grep inet\ addr | wc -l`
if [ $wlan -eq 0 ]; then
service network-manager restart
else
echo WIFI IS UP
fi
Autoconnect wifi ubuntu
#!/bin/bash
wlan=`/sbin/ifconfig wlan0 | grep inet\ addr | wc -l`
if [ $wlan -eq 0 ]; then
service network-manager restart
else
echo WIFI IS UP
fi
sudo date newdatetimestring
where newdatetimestring has to follow the format nnddhhmmyyyy.ss
which is described below
nn is a two digit month, between 01 to 12
dd is a two digit day, between 01 and 31, with the regular rules for days according to month and year applying
hh is two digit hour, using the 24-hour period so it is between 00 and 23
sudo iwconfig wlan0 essid ssid_name key s:ascii_13_chars [1] | |
sudo dhclient wlan0 |
// Playground - noun: a place where people can play | |
import UIKit | |
enum Rank: Int { | |
case Ace = 1 | |
case Two, Three, Four, Five, Six, Seven, Eigth, Nine, Ten | |
case Jack, Queen, King | |
func simpleDescription() -> String { | |
switch self { |
ffmpeg -f image2 -r 2 -i %*.JPG -r 30 -s 1920x1080 -c:v libx264 out.mp4 |
You actually can using Firefox: | |
Go to "about:config" | |
Find "layout.css.devPixelsPerPx | |
Change it to your desired ratio (1 for normal, 2 for retina, etc. -1 seems to be Default.) | |
http://stackoverflow.com/questions/15551287/how-to-test-a-website-for-retina-on-windows-without-an-actual-retina-display |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PayloadContent</key> | |
<array> | |
<dict> | |
<key>Font</key> | |
<data> | |
Base 64 String |
Scared Of Failing? Ask Yourself These 6 Fear-Killing Questions WARREN BERGER, AUTHOR OF A MORE BEAUTIFUL QUESTION, COLLECTED THE PROVOCATIVE QUESTIONS TOP DESIGNERS, TECH INNOVATORS, AND ENTREPRENEURS ASK THEMSELVES TO SPARK CREATIVITY. | |
WRITTEN BY Warren Berger | |
[Editor’s note: The following is the first in a three-part series of posts adapted from Warren Berger’s new book, A More Beautiful Question (Bloomsbury), for which he spoke with top designers, tech innovators, entrepreneurs, and leading creative thinkers to explore the art (and innovative potential) of asking the right questions.] | |
*** | |
Here’s a question: What would you attempt to do if you knew you could not fail? | |
If that question seems familiar, it should. One of the hallmarks of a powerful question is that it gets passed around, and among innovators I spoke with in the tech industry, this one has been making the rounds perhaps more than any other--quoted by everyone from Google’s Regina Dugan to Sebastian Thrun at Udacity and Airbnb co-founder Joe Ge |
http://www.copyblogger.com/high-converting-checkouts/
// | |
// main.m | |
// | |
// Created by Nico Prananta on 10/30/13. | |
// Copyright (c) 2013. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
#import "AppDelegate.h" |