- price
- lease start date
- lease length
- sublet okay?
- neighbhourhood
- # bedrooms
- # bathrooms
- no fee only?
- sqft
#!/bin/bash | |
# <xbar.title>Telia GB Left</xbar.title> | |
# <xbar.version>v1.0</xbar.version> | |
# <xbar.author>Flavio De Stefano</xbar.author> | |
# <xbar.author.github>kopiro</xbar.author.github> | |
# <xbar.var>string(SESSID=""): Session ID</xbar.var> | |
# <xbar.var>string(SUBSCRIPTION_ID=""): Subscription ID; if left blank, the first subscription found is gonna be used</xbar.var> | |
headers='-H "Accept: application/json" -H "X-IOS-Build: 4068" -H "ga-av: 10.10.4" -H "ga-aid: com.teliasonera.selfservice.telia" -H "User-Agent: com.teliasonera.selfservice.telia/10.10.4 (iOS 15.2; Apple)" -H "ga-an: Mitttelia"' |
# A bunch of the stuff above relies on this, especially the aliases. | |
[user] | |
# you probably want to change this bit. | |
name = isaacs | |
email = i@izs.me | |
signingkey = 0x6C481CF6 | |
[alias] | |
ci = commit | |
st = status | |
br = branch |
If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.
Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.
The simplest way to add an alias for a specific git command is to use a standard bash alias.
# .bashrc
class Dashing.Outboard extends Dashing.Widget | |
ready: -> | |
# This is fired when the widget is done being rendered | |
onData: (data) -> | |
# Handle incoming data | |
# You can access the html node of this widget with `@node` | |
# Example: $(@node).fadeOut().fadeIn() will make the node flash each time data comes in. |
Note: This is a revision of @kmcgaire's RubiksCubeSolving.md
Gist, because you can't collaborate on Gists (why?!).
I hereby claim:
- I am younjin on github.
- I am younjin (https://keybase.io/younjin) on keybase.
- I have a public key whose fingerprint is 5018 6F18 1F5E C313 2C57 D48F 616D 569F 8966 A8D1
To claim this, I am signing this object:
<?php | |
function isOntarioPostalCode($string){ | |
return preg_match("%[PKLNM][123456789][ABCEGHJKLMNPRSTVWXYZ]( )?\d[ABCEGHJKLMNPRSTVWXYZ][123456789]%i"), $string); | |
} | |
?> |
#Newbie programmer | |
def factorial(x): | |
if x == 0: | |
return 1 | |
else: | |
return x * factorial(x - 1) | |
print factorial(6) | |
#First year programmer, studied Pascal |