This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Person(object): | |
alive = True | |
def __init__(self, name, height): | |
self.name = name | |
self.height = height | |
def sayname(self): | |
print("Hi, name is ", self.name, " and I am ", self.height, " feet tall!") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
gsettings set org.gnome.desktop.wm.preferences button-layout 'close,minimize,maximize:' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ProvideAlternativeFacts() | |
if expand('<cword>') == "True" | |
execute "normal! ciwFalse" | |
elseif expand('<cword>') == "False" | |
execute "normal! ciwTrue" | |
endif | |
endfunction | |
nnoremap <c-a> :call ProvideAlternativeFacts()<CR><C-a> | |
nnoremap <c-x> :call ProvideAlternativeFacts()<CR><C-x> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal EnableExtensions | |
setlocal EnableDelayedExpansion | |
for /f "usebackq" %%i in (`wmic os get version ^| findstr /b "[0-9].*"`) do ( | |
set "winver=%%i" | |
set "winver=!winver:~0,3! | |
) | |
echo %winver% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
xhost +local: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from bs4 import BeautifulSoup | |
import os, sys | |
import urllib.request | |
import time | |
urls = ("https://www.notsomoderndrummer.com/not-so-modern-drummer/columns/david-barsalou/mike-clark-words-of-wisdom?rq=mike%20clark%3A%20words%20of%20wisdom",\ | |
"https://www.notsomoderndrummer.com/not-so-modern-drummer/columns/david-barsalou/mike-clark-words-of-wisdom-part-2?rq=mike%20clark%3A%20words%20of%20wisdom",\ | |
"https://www.notsomoderndrummer.com/not-so-modern-drummer/columns/david-barsalou/mike-clark-words-of-wisdom-part-3?rq=mike%20clark%3A%20words%20of%20wisdom",\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
DRIVE_PATH=$(mount |grep google-drive-ocamlfuse |awk '{print $3}') | |
fn_usage () { | |
echo Usage: | |
echo $(basename $0) [PATH] | |
echo | |
echo If a Google Drive directory is mounted through google-drive-ocamlfuse, | |
echo unmount it. Otherwise, mount it at PATH. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: oliver < a t > first . in-berlin . de | |
# Contributor: Serge Zirukin <ftrvxmtrx@gmail.com> | |
# Contributor: Sergei Lebedev <superbobry@gmail.com> | |
# Contributor: Nicolas Pouillard <Nicolas.Pouillard@gmail.com> | |
# Contributor: Guillem Rieu <guillemr@gmx.net> | |
pkgname=ocamlnet | |
pkgver=4.1.4 | |
pkgrel=1 | |
pkgdesc="A library for Web and Internet programming in OCaml" | |
arch=('i686' 'x86_64') |