Skip to content

Instantly share code, notes, and snippets.

Paul Andrel stavlor

Block or report user

Report or block stavlor

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 gist:5c773f1834262f27a34a5abf0954250b
@everyone
We're excited to announce the release of the new Shadow launcher in beta for Windows, Mac, and Linux.
This new launcher is simpler, more stable, gives pride of place to Shadow content, and it is beautiful!
This new launcher is available for download in the beta application section of your client area. If you already use the Windows or Mac beta application, it will automatically update. For Linux, you will have to re-download the application from the client area.
We can not wait to see your reactions on Discord beta channels. However, if you have any problems, remember that you can go back to the official version at any time.
See you soon on Shadow!
View gist:0d6b0b330fbbf45e5fb66ba0802a533f
#!/usr/bin/env python
import tools
import socket
import json
import datetime
import xml.etree.ElementTree as ET
import xlsxwriter
from Queue import Queue
from threading import Thread
View temp
conanexiles0_1 | Network:Display: out bytes min;out bytes max;out bytes avg;out bytes total;out parts min;out parts max;out parts avg;out parts total;in bytes min;in bytes max;in bytes avg;in bytes total;actor
conanexiles0_1 | Network:Display: 4; 1357; 13.7;122571; 1; 5; 1.0; 9003; 4; 727; 38.5;303794;"BasePlayerChar_C_2 (server)"
conanexiles0_1 | Network:Display: 4; 490; 61.4;107252; 1; 2; 1.0; 1773; 4; 495; 44.5; 9517;"FunCombat_PlayerController_C_0 (server)"
conanexiles0_1 | Network:Display: 0; 1035; 24.4; 9865; 1; 4; 1.0; 407; 0; 0; 0.0; 0;"BP_NPC_Wildlife_Crocodile_Baby_C_6 (server)"
conanexiles0_1 | Network:Display: 0; 1035; 24.5; 9478; 1; 4; 1.0; 390; 0; 0; 0.0; 0;"BP_NPC_Wildlife_Crocodile_Baby_C_9 (server)"
conanexiles0_1 | Network:Display: 0; 1035; 24.9; 8104; 1; 4; 1.0; 329; 0; 0; 0.0; 0;"BP_NPC_Wildlife_Crocodile_Baby_C_7 (server)"
conanexi
View recorder-agent.py
def add_database_entry(bid, duration, location, starttime, app):
import urllib
import requests
log = logging.getLogger(name="AddDBEntry")
data = {'bid': bid, 'dtime': starttime, 'dur': duration, 'quality': 'HQ', 'path': location, 'application': app}
url = "http://bcgbe_prd.tnsmi-cmr.com/BeavService/InsertSybase.aspx?" + urllib.parse.urlencode(data)
try:
result = requests.get(url)
except:
log.debug('Exception Encountered in Database add!!')
View FiSwitch-gist
03-16 12:34:33.334 1185-1185/? I/NotificationService: Cannot find enqueued record for key: 0|com.cheekydevs.fiswitch|9000|null|10161
03-16 12:34:33.449 2688-2688/? D/NotificationListener: in snoozeNotification
id: abf40ce
package: com.cheekydevs.fiswitch
key: 0|com.cheekydevs.fiswitch|888888|null|10161
priority: 0
template: android.app.Notification$DecoratedCustomViewStyle
actions: [Reply(
id: 6818bef
name: Sprint
View gist:09b934c86dca8deadb9cd980ab7ef56e
03-16 12:24:48.610 22483-10529/? E/WakeLock: CMWakeLock was already released!
java.lang.RuntimeException: WakeLock under-locked CMWakeLock
at android.os.PowerManager$WakeLock.release(PowerManager.java:1546)
at android.os.PowerManager$WakeLock.release(PowerManager.java:1508)
at ajum.b(com.google.android.gms@12518050@12.5.18 (090400-188802357):21)
at ajum.b(com.google.android.gms@12518050@12.5.18 (090400-188802357):31)
at dgn.handleMessage(com.google.android.gms@12518050@12.5.18 (090400-188802357):8)
at nqx.run(com.google.android.gms@12518050@12.5.18 (090400-188802357):6)
at nrj.run(com.google.android.gms@12518050@12.5.18 (090400-188802357):27)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
View current_patch.diff
diff --git a/app/src/main/assets/OpenAPSAMA/basal-set-temp.js b/app/src/main/assets/OpenAPSAMA/basal-set-temp.js
index 97458691..75ea8835 100644
--- a/app/src/main/assets/OpenAPSAMA/basal-set-temp.js
+++ b/app/src/main/assets/OpenAPSAMA/basal-set-temp.js
@@ -19,7 +19,7 @@ tempBasalFunctions.setTempBasal = function setTempBasal(rate, duration, profile,
//var maxSafeBasal = Math.min(profile.max_basal, 3 * profile.max_daily_basal, 4 * profile.current_basal);
var maxSafeBasal = tempBasalFunctions.getMaxSafeBasal(profile);
-var round_basal = require('./round-basal');
+var round_basal = require('../round-basal');
View gist:21954ea849c263fba9c6
Nightscout@0.8.0-beta1 /root/cgm-remote-monitor
├── async@0.9.2
├─┬ benv@1.1.0
│ ├─┬ jsdom@3.1.2
│ │ ├── UNMET DEPENDENCY acorn@0.11.0
│ │ ├── UNMET DEPENDENCY acorn-globals@^1.0.2
│ │ ├── UNMET DEPENDENCY browser-request@>= 0.3.1 < 0.4.0
│ │ ├── UNMET DEPENDENCY contextify@>= 0.1.9 < 0.2.0
│ │ ├── UNMET DEPENDENCY cssom@>= 0.3.0 < 0.4.0
│ │ ├── UNMET DEPENDENCY cssstyle@>= 0.2.21 < 0.3.0
View gist:372a70fb85f37b798479
static/:
total 76
drwxr-xr-x 9 root root 4096 Aug 27 09:47 .
drwxr-xr-x 10 root root 4096 Aug 27 09:47 ..
drwxr-xr-x 2 root root 4096 Aug 25 12:29 audio
drwxr-xr-x 8 root root 4096 Aug 25 12:43 bower_components
-rw-r--r-- 1 root root 403 Aug 25 12:29 browserconfig.xml
-rw-r--r-- 1 root root 1653 Aug 25 12:29 clock.html
drwxr-xr-x 2 root root 4096 Aug 25 12:29 css
drwxr-xr-x 4 root root 4096 Aug 25 12:29 glyphs
View gist:f877b14525d543b27e4c
root@ns:~/cgm-remote-monitor# ls -laR static/bower_components/
static/bower_components/:
total 32
drwxr-xr-x 8 root root 4096 Aug 25 12:43 .
drwxr-xr-x 9 root root 4096 Aug 27 09:47 ..
drwxr-xr-x 2 root root 4096 Aug 25 12:43 angularjs
drwxr-xr-x 7 root root 4096 Aug 25 12:43 bootstrap
drwxr-xr-x 4 root root 4096 Aug 25 12:43 jquery
drwxr-xr-x 2 root root 4096 Aug 25 12:43 jQuery-Storage-API
drwxr-xr-x 4 root root 4096 Aug 25 12:43 jquery-ui
You can’t perform that action at this time.