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/bash | |
#launch_screen() | |
#{ | |
# # Xvfb + x11vnc | |
# | |
# ( | |
# screen=$1 | |
# | |
# Xvfb :$screen -screen 0 1024x768x24 & |
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.4 | |
import datetime | |
import time | |
def something(): | |
print(datetime.datetime.now()) | |
# Simulate long running task | |
time.sleep(0.75) |
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 --git a/src/bundlewrap/utils/remote.py b/src/bundlewrap/utils/remote.py | |
index 3fa606e..d36b7de 100644 | |
--- a/src/bundlewrap/utils/remote.py | |
+++ b/src/bundlewrap/utils/remote.py | |
@@ -13,7 +13,8 @@ def _parse_file_output(file_output): | |
return ('nonexistent', "") | |
elif file_output in ("directory", "sticky directory"): | |
return ('directory', file_output) | |
- elif file_output in ("block special", "character special"): | |
+ elif file_output.startswith("block special ") or \ |
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
for i in {1..250}; do curl -X POST -H 'Content-Type: application/json' --user bob:bob --data-binary '{"allowed_groups": [], "allowed_users": ["bob"], "name": "apitest '"$i"'", "password": "huch '"$i"'"}' 'http://10.33.20.2/api/secrets/'; done |
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: Adrian Perez de Castro <aperez@igalia.com> | |
_dotted_zero=false | |
_centered_tilde=true | |
_encodings='uni i15' | |
pkgname='uw-ttyp0-font' | |
pkgdesc='Bitmap monospaced font with unicode support and Powerline symbols' | |
pkgver='1.3' | |
pkgrel='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
Program received signal SIGSEGV, Segmentation fault. | |
0xb7ef7410 in emit_dqt () from /usr/lib/libjpeg.so.8 | |
(gdb) bt | |
#0 0xb7ef7410 in emit_dqt () from /usr/lib/libjpeg.so.8 | |
#1 0xb7ef7e1a in write_tables_only () from /usr/lib/libjpeg.so.8 | |
#2 0xb7ef00d7 in jpeg_write_tables () from /usr/lib/libjpeg.so.8 | |
#3 0xb7f40b45 in TIFFjpeg_write_tables () from /usr/lib/libtiff.so.3 | |
#4 0xb7f40ee3 in JPEGSetupEncode () from /usr/lib/libtiff.so.3 | |
#5 0xb7f57f0e in TIFFWriteScanline () from /usr/lib/libtiff.so.3 | |
#6 0x080a6cac in xsane_save_tiff_page (tiffile=0x82067b0, page=0, pages=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
#!/bin/bash | |
# a) Compare existing language resources. | |
# b) Check if some of the keys in the reference language resources are | |
# not used. | |
# c) Try to find all keys in the code and check if they're present in | |
# the reference language resources. | |
# Launch this script from the root directory of FluxBB. |
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
/* | |
<?xml version='1.0' standalone='yes' ?> | |
<!-- xml header for scripts & plugin manager --> | |
<script> | |
<name>CameraLookAt</name> | |
<author>TroY</author> | |
<version>0.1</version> | |
<date>2010-07-11</date> | |
<description> | |
Set a camera's view direction. Simply select your camera and the |
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/bash | |
# Capture a series of images to be used in a time-lapse movie. | |
# Based on http://demaya.de/wp/2010/08/mit-ffmpeg-zeitraffervideos-erstellen/ | |
# Default settings, parse command line arguments. | |
sleeptime='1' | |
defaultduration='30' | |
stopdate=$(( $(date +%s) + defaultduration )) | |
capsdir='/tmp/caps' |
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/bash | |
# Based on the "Shell image viewer" by Andreas Schönfelder: | |
# https://bbs.archlinux.org/viewtopic.php?id=106089 | |
# Defaults. | |
doublexres="yes" | |
colors="$(tput colors)" | |
size="$(($(tput cols) - 2))x$(($(tput lines) - 2))" |
OlderNewer