Markdown Google
Textile "Google":http://www.google.com
ReStructuredText
Google
_
javascript:void(window.open("http://rss2json.com/api.json?rss_url="+window.location.href)) |
# install Powershell on Ubuntu 14.04 | |
curl -SL https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-beta.2/powershell_6.0.0-beta.2-1ubuntu1.14.04.1_amd64.deb -o powershell_6.0.0-beta.2-1ubuntu1.14.04.1_amd64.deb | |
sudo apt-get install libunwind8 libicu52 | |
sudo dpkg -i powershell_6.0.0-beta.2-1ubuntu1.14.04.1_amd64.deb |
# Resetting your Windows Subsystem for Linux (WSL) Environment | |
lxrun.exe /uninstall /full | |
lxrun.exe /install |
{% if site.github.public_repositories %} | |
{% assign sorted_repositories = site.github.public_repositories | sort: 'stargazers_count' %} | |
{% for repository in sorted_repositories reversed %} | |
<h2><a href="{{ repository.html_url }}" target="_blank">{{ repository.name }}</a></h2> | |
<p>{{ repository.description }}</p> | |
{% endfor %} | |
{% endif %} |
[ | |
{ | |
"name": "shortn", | |
"description": "Shorten URL using bitly, tinyurl & more using the command line", | |
"website": "https://github.com/ishu3101/shortn", | |
"language": "python" | |
}, | |
{ | |
"name": "Copy URL & Title", | |
"description": "Chrome Extension to copy URL, title of current tabs & windows", |
import sys | |
import csv | |
try: | |
if (sys.argv[1] == '-'): | |
f = sys.stdin.read().splitlines() | |
else: | |
filename = sys.argv[1] | |
f = open(filename, 'r') | |
csv = csv.reader(f) |
import sys | |
import fileinput | |
for line in fileinput.input(sys.argv[1:]): | |
print line.strip().upper() |
Markdown Google
Textile "Google":http://www.google.com
ReStructuredText
Google
_
function Get-OutDatedModule(){ | |
$loadedModules = Get-Module | |
foreach ($module in $loadedModules) { | |
$foundModule = Find-Package -Name $module.Name -ErrorAction SilentlyContinue | |
if ($foundModule) { | |
if ($module.Version -lt $foundModule.Version) { | |
Write-Host "$($module.Name): Installed version: $($module.Version.ToString()) - Newest version: " -NoNewline | |
Write-Host "$($foundModule.Version.ToString())" -ForegroundColor Red | |
} | |
} |
%letters = ( | |
"a" => ["Apple", "Aeroplane"], | |
"b" => ["Bat", "Banana", "Basket"], | |
"c" => ["Cat", "Carpet"], | |
); | |
# loop through just the keys | |
for my $key (sort keys %letters){ | |
$value = $letters{$key}; | |
$length = @{$value}; | |
print "Key: $key \n"; |