Skip to content

Instantly share code, notes, and snippets.

Sarim Khan sarim

Block or report user

Report or block sarim

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
View vscode-user-pref.json
"explorer.openEditors.visible": 0,
"editor.wordWrap": "on",
"editor.renderIndentGuides": false,
"window.openFilesInNewWindow": "off",
"editor.minimap.enabled": false,
"workbench.sideBar.location": "right",
"window.titleBarStyle": "custom",
"remote.onstartup": true,
"editor.fontSize": 20,
sarim / .bash_profile
Created Dec 16, 2017
supercharge your youtube-dl
View .bash_profile
yt-dl() {
youtube-dl --external-downloader=aria2c --external-downloader-args="--download-result=hide" $@
yt-dl-q() {
cat $1 | xargs -I {} bash -l -c "yt-dl {};"
1080p() {
yt-dl -f 137+140 $1
View output.html
<td><img src="" border=0></td>
<td>2017-02-12 09:29:11 +0000 UTC</td>
View .bash_profile
export GOROOT=/usr/local/Cellar/go/1.6.2/libexec
export GOPATH=/usr/local/Cellar/go/1.6.2/packages
export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/opt/go/libexec/bin:$GOPATH/bin
export ANDROID_HOME=/Volumes/Codes/android-sdk-macosx
export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools
alias runurt="open /Volumes/Codes/UrbanTerror42/"
export HISTSIZE=

So i got a spam mail. Phising for my google account. Nice design, even prefilled my emaill address :p

Copy and paste the link in incognito
View fucking-java.log
[jasper@gittu buildomatic]$ /home/jasper/jasperreports-server-cp-6.3.0/apache-ant/bin/ant import-minimal-ce
Buildfile: /home/jasper/jasperreports-server-cp-6.3.0/buildomatic/build.xml
[echo] Filtering properties (cleaning out blank spaces)
[echo] chkAndSetLocaleDbSettings: dbType is postgresql
[echo] chkAndSetLocaleDbSettings: db.set.lc_collate and db.set.lc_ctype are NOT both set
[echo] chkAndSetLocaleDbSettings: parse: for db commands
[echo] using settings file: /home/jasper/jasperreports-server-cp-6.3.0/buildomatic/build_conf/default/maven_settings.xml
import sys
from PyQt5.QtWidgets import QMainWindow, QAction, qApp, QApplication, QMenuBar, QMenu
from PyQt5.QtGui import QIcon
class Example(QMainWindow):
def __init__(self):
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'gui.ui'
# Created by: PyQt5 UI code generator 5.6
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
View -
class: OASiteBundle\Twig\SettingExtension
- @doctrine.orm.entity_manager
- { name: twig.extension }
#!/usr/bin/env python
import socket, sys, getopt
from datetime import datetime, timedelta
def get_server_details(host, port):
# Data Place Holders
urt_server_details = {}
# Socket Request Message
MESSAGE = "\377\377\377\377getstatus"
You can’t perform that action at this time.