Skip to content

Instantly share code, notes, and snippets.

View dulleh's full-sized avatar

dulleh dulleh

  • London
View GitHub Profile
@dulleh
dulleh / .inputrc
Created April 13, 2023 13:53
Ergonomic bash history filter
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set history-preserve-point on
#!/bin/bash -login
#SBATCH --nodes=1
#SBATCH --gres=gpu:1
#SBATCH --partition gpu
#SBATCH --job-name='subLSTM_PTB'
#SBATCH --mem 15000
module purge
module load languages/miniconda
module load libs/cuda/10.0-gcc-5.4.0-2.26
@dulleh
dulleh / gist:20c70c92bd4484afa65034c6dc8098ac
Created January 20, 2017 19:45
here is the console from chrome http://i.imgur.com/4WkHfHZ.png in case that's more glanceable, here is the bug http://i.imgur.com/0SO7obT.png
Navigated to https://kitsu.io/
getstream.js:1 WebSocket connection to 'wss://faye.getstream.io/faye' failed: Error during WebSocket handshake: Unexpected response code: 500
create @ getstream.js:1
_createSocket @ getstream.js:1
connect @ getstream.js:1
isUsable @ getstream.js:1
isUsable @ getstream.js:1
(anonymous) @ getstream.js:1
l @ getstream.js:1
u @ getstream.js:1
@dulleh
dulleh / kitsumissinglikeandreply.txt
Created January 20, 2017 19:30
kitsu: missing like and reply buttons
VM675 :1 Mixed Content: The page at 'https://kitsu.io/#' was loaded over HTTPS, but requested an insecure image 'http://i.imgur.com/7ga2Hck.jpg'. This content should also be served over HTTPS.
VM675 :1 Mixed Content: The page at 'https://kitsu.io/#' was loaded over HTTPS, but requested an insecure image 'http://img03.deviantart.net/e45b/i/2016/244/f/f/filthy_frank_anime_hunter___poster_by_noplanes-dag4nw3.jpg'. This content should also be served over HTTPS.
https://media.kitsu.io/users/avatars/104611/small.jpg?1480551579 Failed to load resource: the server responded with a status of 404 ()
raven.js:80 TypeError: Cannot read property 'id' of undefined
at r (https://kitsu.io/assets/vendor-9cb2cf4a06e0b1822d1f9472935ad31a.js:13:8270)
at isCurrentUser (https://kitsu.io/assets/client-a2ef08b9bd686e56dd827fb4e0af499a.js:12:23396)
at i.didReceiveAttrs (https://kitsu.io/assets/client-a2ef08b9bd686e56dd827fb4e0af499a.js:4:4939)
at i.trigger (https://kitsu.io/assets/vendor-9cb2cf4a06e0b1822d1f9472935ad3
25247-25247/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.charlesmadere.hummingbird, PID: 25247
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.charlesmadere.hummingbird/com.charlesmadere.hummingbird.activities.FeedActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.charlesmadere.hummingbird.models.UserDigest.getUserId()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThrea
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: <html xmlns="http://www.w3.org/1999/xhtml">
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: <head>
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: <title>Please wait 5 seconds...</title>
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: <script type="text/javascript">
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: //<![CDATA[
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: (function(){
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: var a = function() {try{return !!window.addEventListener} catch(e) {return !1} },
12-19 17:55:45.835 9340-9481/dulleh.akhyou I/System.out: b = function(b, c) {a() ? document.addEventListener("DOMContentLoaded", b, c) : document.attachEvent("onreadystatechange", b)};
@dulleh
dulleh / mapping.txt
Last active August 28, 2015 22:57
Mapping for Akhyou! ProGuard Error
android.support.design.BuildConfig -> android.support.design.BuildConfig:
boolean DEBUG -> DEBUG
java.lang.String APPLICATION_ID -> APPLICATION_ID
java.lang.String BUILD_TYPE -> BUILD_TYPE
java.lang.String FLAVOR -> FLAVOR
int VERSION_CODE -> VERSION_CODE
java.lang.String VERSION_NAME -> VERSION_NAME
android.support.design.R -> android.support.design.R:
android.support.design.R$anim -> android.support.design.R$anim:
int abc_fade_in -> abc_fade_in