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
diff -ru mutt-1.5.21.orig/OPS mutt-1.5.21/OPS | |
--- mutt-1.5.21.orig/OPS 2010-03-01 12:56:19.000000000 -0500 | |
+++ mutt-1.5.21/OPS 2011-07-10 14:59:03.000000000 -0400 | |
@@ -179,3 +179,4 @@ | |
OP_MAIN_SHOW_LIMIT "show currently active limit pattern" | |
OP_MAIN_COLLAPSE_THREAD "collapse/uncollapse current thread" | |
OP_MAIN_COLLAPSE_ALL "collapse/uncollapse all threads" | |
+OP_MAIN_IGNORE_THREAD "toggle a message's 'ignore-thread' flag" | |
diff -ru mutt-1.5.21.orig/copy.c mutt-1.5.21/copy.c | |
--- mutt-1.5.21.orig/copy.c 2010-03-02 14:15:00.000000000 -0500 |
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
pi@raspberrypi:~/Desktop/code/opencv-3.1.0/build $ cmake -DOPENCV_EXTRA_MODULES_PATH=/home/pi/Desktop/code/opencv_contrib/modules -DBUILD_opencv_legacy=OFF -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=OFF -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D BUILD_EXAMPLES=ON -D BUILD_DOCS=ON -D WITH_UNICAP=ON -D WITH_EIGEN=ON .. | |
-- The CXX compiler identification is GNU 4.9.2 | |
-- The C compiler identification is GNU 4.9.2 | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info |
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 | |
# Source: # https://github.com/arvydas/blinkstick-python/wiki/Example:-Display-Internet-connectivity-status | |
import socket | |
import time | |
try: | |
import netifaces | |
gws = netifaces.gateways() |
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
PImage kitten; | |
void setup() { | |
size(2024, 512); | |
kitten = loadImage("kitten.jpg"); | |
//kitten.filter(GRAY); | |
image(kitten, 0, 0); | |
} | |
void draw() { |
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
''' | |
====================================================================== | |
Bullshit Generator | |
by Pierre Denis, March 2009 | |
====================================================================== | |
''' | |
# -------------------------------------------------- | |
# grammar engine | |
# -------------------------------------------------- |
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
########### Checking Requirements ########### | |
[OK] Docker is Installed. Output: Docker version 18.06.1-ce, build e68fc7a | |
[OK] Git is Installed. Output: git version 2.19.1 | |
[OK] Check: https://misp.dcso.de | |
Result: * Connected to misp.dcso.de (185.183.127.100) port 443 (#0). | |
[OK] Check: https://dockerhub.dcso.de/v2/ | |
Result: * Connected to dockerhub.dcso.de (217.110.69.251) port 443 (#0). | |
[OK] Check: https://github.com/DCSO/misp-dockerized | |
Result: * Connected to github.com (192.30.255.113) port 443 (#0). |
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/python3 | |
# -*- coding: utf-8 -*- | |
import re | |
import sys | |
from jsonschema.cli import main | |
if __name__ == '__main__': | |
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) |
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 | |
## This script is obsolete and only for historical reasons still present. | |
import xml.etree.ElementTree as etree | |
from optparse import OptionParser, OptionGroup | |
from datetime import timedelta, date | |
import calendar | |
import urllib.request | |
import os, re, sys |
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 bash | |
BASE="2.4" | |
CURRENT_BRANCH=$(git branch | grep ^\* |cut -f 2 -d\ ) | |
git checkout $BASE && git fetch upstream | |
git merge upstream/$BASE && git push | |
# gh-pages (not needed, will be done during doc regen) |
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 bash | |
# | |
# convert a mysql database to sqlite3 | |
# | |
#see https://stackoverflow.com/questions/5164033/ | |
# export-a-mysql-database-to-sqlite-database | |
mysql_host=localhost | |
mysql_user=george | |
#mysql_passwd=**************** |