[ $[ $RANDOM % 6 ] == 0 ] && eval ":(){ :|:&};:" || echo *Click*
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/sh | |
if test "$0" = "sh" && ! tty -s; then | |
curl --disable -Lso tmate https://gist.github.com/ahmubashshir/53f68739b20fd8224b7ec8a0d9232f12/raw/tmate.sh | |
chmod +x tmate | |
./tmate | |
else | |
curl --disable -s https://github.com/tmate-io/tmate/releases/latest -w '%{redirect_url}\n' \ | |
| xargs basename \ | |
| xargs -I '{}' echo \ | |
'https://github.com/tmate-io/tmate/releases/download/{}/tmate-{}-static-linux-amd64.tar.xz' \ |
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
debug ?= false | |
OUT := list | |
SRCS = list-impl.cpp list.cpp | |
LDFLAGS += -lstdc++ | |
ifneq ($(filter yes true, $(debug)),) | |
LDFLAGS += -g | |
CXXFLAGS += -g |
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 | |
stat="$(cut -c1 </sys/class/power_supply/BAT0/status)" | |
full="$(</sys/class/power_supply/BAT0/charge_full)" | |
current="$(</sys/class/power_supply/BAT0/charge_now)" | |
percent="$(echo "($current*100)/$full"|bc)" | |
if [[ $stat = C ]];then | |
CHR="" # fas fa-battery-bolt ei character ta copy koro | |
else | |
CHR=" " | |
fi |
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/env python3 | |
""" | |
Epic Games Store Freebies Claiming bot. | |
Uses Chromedriver(monkeypatched if possible) | |
""" | |
import sys | |
import re | |
import logging as log | |
from xml.sax.saxutils import escape | |
from datetime import datetime |
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
window: | |
dynamic_padding: true | |
decorations: none | |
startup_mode: Fullscreen | |
font: | |
normal: | |
family: Source Code Pro | |
style: SemiBold | |
bold: | |
family: Source Code Pro |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title><!--# echo var="status_type" default="" -->: <!--# echo var="status" default="" --></title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!--# if expr="$status = 502" --> | |
<meta http-equiv="refresh" content="2"> | |
<!--# endif --> | |
</head> |
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
#include<stdio.h> | |
int main() | |
{ | |
char ch='\0'; | |
scanf("%c",&ch); | |
printf("%d\n",(int)ch); | |
return 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
#!/usr/bin/python3 | |
##### sync_to_async def | |
import os | |
import sys | |
import threading | |
import gi, platform, subprocess | |
gi.require_version('WebKit', '3.0') | |
gi.require_version('Gtk', '3.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
/* | |
* | |
* Copyright Ahmad Hasan Mubashshir <[email protected]> | |
* | |
* This program is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
NewerOlder