Skip to content

Instantly share code, notes, and snippets.

Emrah Er emraher

Block or report user

Report or block emraher

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
emraher / custom.css
Created Sep 15, 2017
Vivaldi Custom CSS
View custom.css
/* qutebrowser-ish Vivaldi */
.mac #header {
min-height: 16px !important;
.mac {
padding-left: 0 !important;
padding-right: 0 !important;
emraher / SurfingkeysDraculaThemeAttempt.txt
Last active Jun 20, 2019
Surfingkeys Dracula Theme Attempt
View SurfingkeysDraculaThemeAttempt.txt
// -----------------------------------------------------------------------------------------------------------------------
// // Surfingkeys:
// // Dracula Theme:
// -----------------------------------------------------------------------------------------------------------------------
// Map Keys
// -----------------------------------------------------------------------------------------------------------------------
emraher /
Created Oct 23, 2015 — forked from SimonSimCity/
Extended the script, written by @streeter to exclude the pinned formulae in the list of formulas to update.
# Notify of Homebrew updates via Notification Center on Mac OS X
# Author: Chris Streeter
# Requires: terminal-notifier. Install with:
# brew install terminal-notifier
emraher /
Created May 14, 2018 — forked from kevinelliott/
macOS 10.13 High Sierra Mostly-Automated Setup

macOS 10.13 High Sierra Mostly-Automated Setup

An easy to refer to document for regularly setting up macOS 10.13 High Siera, in flavor of my previous macOS/OSX setup gists:

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

emraher /
Created May 14, 2018 — forked from pwnsdx/
Disable bunch of #$!@ in Sierra (Version 2.1)
# IMPORTANT: You will need to disable SIP aka Rootless in order to fully execute this script, you can reenable it after.
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# Agents to disable
TODISABLE=('' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '
emraher / spatial.R
Created Jan 30, 2018 — forked from devmag/spatial.R
R scripts to compute Conley Type Standard Errors
View spatial.R
iterateObs<-function(y1,e1,X1,fordist,coefficients,cutoff=250000) {
emraher / tr.dcf
Created Dec 23, 2017
Turkish dcf for R package exams
View tr.dcf
PersonalData: Ki{\c s}isel Bilgiler
Name: Ad
FamilyName: Soyad
GivenName: Ad
Signature: {\.I}mza
RegistrationNumber: {\"O}{\u g}renci Numaras{\i}
Checked: Kontrol Edilmi{\c s}
NoChanges: Bu b{\"o}l{\"u}mde de{\u g}i{\c s}iklik \textbf{yap{\i}lmamal{\i}d{\i}r}!
DocumentType: T{\"u}r
DocumentID: S{\i}nav Numaras{\i}
emraher / mode.R
Created Nov 1, 2017
Mode function for R
View mode.R
Mode <- function(x, na.rm = FALSE, mult = TRUE) {
if(na.rm) {
x = x[!]
View hdmexample.R
n <- 1000 #sample size
p <- 1000 # number of variables
s <- 30 # nubmer of non-zero variables
X <- matrix(rnorm(n * p), ncol = p)
colnames(X) <- paste("X", 1:p, sep = "")
beta <- c(rep(3, s), rep(0, p - s))
emraher /
Created Jul 12, 2016 — forked from KhepryQuixote/
Python scripts to download, extract, and output oil, gas, and/or fracking well information from various states in the United States of America.
# -*- coding: utf-8 -*-
This Python script is oriented towards oil, gas, and fracking well
information download, extract, and output at the state-level within
the United States of America. Not all states are present as not all
states either allow fracking or have any sites available for download.
This Python script is dependent upon another Python script entitled, which is also available as a Gist under the same name.
You can’t perform that action at this time.