Skip to content

Instantly share code, notes, and snippets.

View SenpaiSilver's full-sized avatar
💭
🥓🥓🥓

SenpaiSilver

💭
🥓🥓🥓
View GitHub Profile
@SenpaiSilver
SenpaiSilver / main.py
Created May 7, 2018 11:11
Scrapper script that will embed to discord Tomo chan from Dropout
#!/usr/bin/env python3
import os
import collections
import json
import re
import requests
import settings
>>> import sys, traceback
>>> raise Exception("Hello World!")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
Exception: Hello World!
>>> traceback.print_tb(sys.last_traceback)
File "<stdin>", line 1, in <module>
>>> traceback.print_last()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
#include <iostream>
#include <Windows.h>
#include "largeaddresstoggle.h"
WORD get_PE_ptr(HANDLE hFile) {
DWORD dwPtr = 0;
DWORD read_bytes = 0;
WORD ptr = 0;
// ==UserScript==
// @name NoMoney
// @namespace http://tampermonkey.net/
// @version 0.2
// @description Ain't nobody got money for that
// @author Wingates Silver
// @match https://siggy.borkedlabs.com/*
// @grant none
// ==/UserScript==
@SenpaiSilver
SenpaiSilver / README.md
Last active December 13, 2016 17:13
EVE Online custom overview.

SenpaiOverview

This is a custom overview for EVE Online based on the SaraShawa Overview 9.1. It reworks a few settings.

Locations

  • Windows: %userprofile%\documents\EVE\Overview
  • Mac OSX: /Library/Application Support/EVE Online/p_drive/User/My Documents/EVE/Overview
#!/bin/sh
function retrieve_video() {
QUALITY=$(youtube-dl -F ${1} | grep best | cut -d ' ' -f 1)
echo Quality: ${QUALITY}
youtube-dl -f ${QUALITY} "${1}"
}
current=0
#!/bin/bash
function get_format()
{
for elem in "${FMT[@]}"; do
if (echo ${elem} | grep $1); then
echo ${elem}
return
fi
done
#! /usr/bin/env python
import json
def PrettyJSON(data, indnt=2, sortkeys=True):
print(json.dumps(data, sort_keys=sortkeys, indent=indnt))
<?php
/*
** Please define SQL_*
*/
class Sql
{
private $_SQL;
public function __construct($user = SQL_USR, $password =