Skip to content

Instantly share code, notes, and snippets.

View luclu7's full-sized avatar
🚄
Hey!

Luclu7 luclu7

🚄
Hey!
View GitHub Profile
This work, excluding the Arch Linux logo, is made available under CC0: https://creativecommons.org/publicdomain/zero/1.0/
@Zemnmez
Zemnmez / tweetdeck-limit-override-dm-rt-fix.js
Last active March 13, 2023 15:21
tweetdeck-limit-override.js
/*
This snippet is esssentially the same as being in the Twitter longer tweets test, for tweetdeck.
The Tweet length counter is fixed by tricking TweetDeck into counting up to 140 characters, twice, so you'll see 140
instead of 280 in the counter but going over 140 will give you another set of 140 charactrs.
*/
TD.services.TwitterClient.prototype.makeTwitterCall=function(b,e,f,g,c,d,h){c=c||function(){};d=d||function(){};b=this.request(b,{method:f,params:Object.assign(e,{weighted_character_count:!0}),processor:g,feedType:h});return b.addCallbacks(function(a){c(a.data)},function(a){d(a.req,"",a.msg,a.req.errors)}),b};
twttrTxt=Object.assign({},twttr.txt,{isInvalidTweet:function(){return!1},getTweetLength:function(x){return x=twttr.txt.getTweetLength.apply(this,arguments),x<140||x/140>2?x:x%140}});
@pol8139
pol8139 / Dualshock4_leonardo_pad_win.xml
Created July 16, 2018 16:35
gimxで自作DIVAアケコンを使用するときのコンフィグファイル(Windows用)
<?xml version="1.0" encoding="UTF-8"?>
<root>
<controller id="1" dpi="0" type="DS4">
<configuration id="1">
<trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
<mouse_options_list/>
<intensity_list/>
<button_map>
<button id="abs_axis_17" label="">
<device type="joystick" id="0" name="PS4 Controller"/>
@ZeroInfinityXDA
ZeroInfinityXDA / Notes.md
Last active February 3, 2024 08:15 — forked from rupansh/Notes.md
Android P semi-GSI notes
@clopez
clopez / YEPO_737A.md
Last active June 25, 2020 05:29 — forked from anonymous/YEPO_737A.md
Linux On Yepo 737A

Yepo 737A + Linux

  • Boot Menu F2 or Del

  • Boot Device Menu F7

  • WARNING: Dont change the OS from Windows to "Intel Linux" on the BIOS. Doing that causes the screen to not startup at BIOS time making impossible to enter into it again (requires to drain the battery and press power button several times to reset the settings)

Observation of functional distributions:

  • Debian 10
@modelmat
modelmat / _classes_output.json
Last active April 13, 2023 08:06
A simple API for My Study Life application
{
"academic_years":[
{
"created_at":"2018-08-11T11:35:29",
"deleted_at":null,
"end_date":"2018-12-19",
"guid":"2adeab27-b77d-40e8-b5c6-48ff699833ef",
"holidays":[
],
@ernierasta
ernierasta / sway-record
Last active August 18, 2022 19:36
Swaywm screen and audio recording
#!/bin/bash
# Sway WM screen + audio recorder
# original author: Aaron D. Fields
# blog post: https://blog.spirotot.com/2017/08/21/a-dirty-hack-to-enable-acceptable-sway-wm-screen-recording/
# currently error 503 :-(
#
# Updated version: ernierasta
# Repo: https://gist.github.com/ernierasta
#
# Changelog:
@artizirk
artizirk / debug.md
Last active April 19, 2024 18:05
Debug WireGuard Linux kernel module
@gullyn
gullyn / flappy.html
Last active May 4, 2024 15:35
Flappy bird in 205 bytes (improved!)
<body onload=z=c.getContext`2d`,setInterval(`c.width=W=150,Y<W&&P<Y&Y<P+E|9<p?z.fillText(S++${Y=`,9,9|z.fillRect(p`}*0,Y-=--M${Y+Y},P+E,9,W),P))):p=M=Y=S=6,p=p-6||(P=S%E,W)`,E=49) onclick=M=9><canvas id=c>