Skip to content

Instantly share code, notes, and snippets.

View luclu7's full-sized avatar
🚄
Hey!

Luclu7 luclu7

🚄
Hey!
View GitHub Profile
@gullyn
gullyn / flappy.html
Last active November 28, 2023 18:23
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>
@artizirk
artizirk / debug.md
Last active October 18, 2023 16:29
Debug WireGuard Linux kernel module
@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:
@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":[
],
@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
@ZeroInfinityXDA
ZeroInfinityXDA / Notes.md
Last active February 3, 2024 08:15 — forked from rupansh/Notes.md
Android P semi-GSI notes
@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"/>

Misskey Setup and Installation Guide on Debian 9

We thank you for your interest in setting up your Misskey server! This guide describes how to install and setup Misskey.


1. Create Misskey user

@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}});