A very pretty markdown file.
.. with unordered lists:
- Hello
- I am
- a list
.. and ordered lists:
- Yaay! More lists!
@echo off | |
@echo [*] Waiting for device.. | |
adb wait-for-device | |
@echo [*] Capturing screenshot and saving temporarily to sd-card.. | |
adb shell screencap -p /sdcard/screen.png | |
@echo [*] Pulling screenshot off of sd-card.. | |
adb pull /sdcard/screen.png | |
@echo [*] Removing temporary file on phone | |
adb shell rm /sdcard/screen.png | |
@echo [*] Opening screenshot.. |
{ | |
"district": { | |
"Ampara": { | |
"province": "Eastern", | |
"population": { | |
"2012": 648057 | |
} | |
}, | |
"Anuradhapura": { | |
"province": "North Central", |
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) | |
$env:Path +=";" + $env:systemdrive + "\chocolatey\bin" | |
cwindowsfeatures MSMQ-Server | |
cinst git.commandline | |
$env:Path +=";" + $env:systemdrive + "\git\bin" | |
cinst git-credential-winstore | |
git config --global core.autocrlf input |
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin | |
Install-WindowsUpdate -AcceptEula | |
Update-ExecutionPolicy Unrestricted | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions | |
Set-TaskbarSmall | |
Enable-RemoteDesktop | |
cinst TelnetClient -source windowsFeatures | |
cinst 7zip -force | |
cinst 7zip.commandline | |
cinst 7zip.install -force |
<?xml version="1.0" encoding="utf-8"?> | |
<key name="Software"> | |
<key name="ConEmu"> | |
<key name=".Vanilla" modified="2015-02-04 01:05:57" build="150128"> | |
<value name="SingleInstance" type="hex" data="00"/> | |
<value name="KeyboardHooks" type="hex" data="01"/> | |
<value name="UseInjects" type="hex" data="01"/> | |
<value name="Update.CheckOnStartup" type="hex" data="00"/> | |
<value name="Update.CheckHourly" type="hex" data="00"/> | |
<value name="Update.ConfirmDownload" type="hex" data="01"/> |
SELECT word FROM ts_stat(' | |
SELECT to_tsvector(''english'', message) | |
FROM backlog | |
WHERE bufferid = 14' | |
) | |
WHERE char_length(word) >= 2 | |
ORDER BY nentry DESC, ndoc DESC, word | |
LIMIT 10; |
<?php | |
# Nginx don't have PATH_INFO | |
if (!isset($_SERVER['PATH_INFO'])) { | |
$_SERVER['PATH_INFO'] = substr($_SERVER["ORIG_SCRIPT_FILENAME"], strlen($_SERVER["SCRIPT_FILENAME"])); | |
} | |
$request = substr($_SERVER['PATH_INFO'], 1); | |
$file = $request; | |
$fp = @fopen($file, 'rb'); |
#!/usr/bin/env python | |
import curses | |
import curses.textpad | |
import time | |
stdscr = curses.initscr() | |
#curses.noecho() | |
#curses.echo() |
import requests | |
from bs4 import BeautifulSoup | |
import collections | |
import urlparse | |
def get_last_record_number(parsed_html): | |
try: | |
stuff = parsed_html.find('a', {'title':'End'}) | |
link = stuff.get('href') | |
parsed = urlparse.urlparse(link) |