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
import socket | |
UDP_IP = "127.0.0.1" | |
UDP_PORT = 1234 | |
MESSAGE = "Hello, World!" | |
print ("UDP target IP:", UDP_IP) | |
print ("UDP target port:", UDP_PORT) | |
print ("message:", MESSAGE) |
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
Privacy Policy | |
BOURAOUI AL MOEZ L.A built the The JungBall app as an Ad Supported app. This SERVICE is provided by BOURAOUI AL MOEZ L.A at no cost and is intended for use as is. | |
This page is used to inform visitors regarding my policies with the collection, use, and disclosure of Personal Information if anyone decided to use my Service. | |
If you choose to use my Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that I collect is used for providing and improving the Service. I will not use or share your information with anyone except as described in this Privacy Policy. | |
The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which are accessible at The JungBall unless otherwise defined in this Privacy Policy. | |
Information Collection and Use |
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
inkscape --export-plain-svg --export-filename=output.svg input.eps |
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
def nsToStr(nanoseconds): | |
h=3.6e+12 | |
m=h/60 | |
s=m/60 | |
return str(int(d/h)) +':'+str(int((d%h)/m))+':'+ str(int((d%h)%m/s)) + '.' + str(int((d%h)%m%s)) |
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
echo -n '{"sub":"RS256inOTA","name":"John Doe"}' | base64 | sed s/\+/-/ | sed -E s/=+$// |
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 | |
echo CPU_USAGE,TOTAL_MEM,USED_MEM,FREE_MEM,DISK_USAGE,RX-OK,RX-ERR,RX-DRP,RX-OVR,TX-OK,TX-ERR,TX-DRP,TX-OVR,Flg | |
while true | |
do | |
TOTAL_MEM=$(free -m | grep Mem | sed 's/ \+/\t/g' | cut -f2) | |
USED_MEM=$(free -m | grep Mem | sed 's/ \+/\t/g' | cut -f3) | |
FREE_MEM=$(free -m | grep Mem | sed 's/ \+/\t/g' | cut -f4) | |
DISK_USAGE=$(df | grep ploop44294p1 | sed 's/ \+/\t/g' | cut -f5) | |
CPU_USAGE=$(top -bn1 | grep "Cpu(s)" | sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | awk '{print 100 - $1"%"}') |
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
[[ ! -z $CWD ]] && cd $CWD |
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
ls -d */ | awk '{print "cd "$0" && git config core.filemode false && cd .."}' > script.sh | |
chmod +x script.sh | |
./script.sh |
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
{ | |
... | |
"problemMatcher": { | |
"base": "$gcc", | |
"fileLocation": ["relative", "${workspaceRoot}/builddir"] | |
} | |
} |
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
CMD:listbugs(playerid, params[]) | |
{ | |
if(GetFactionType(playerid) != FACTION_FEDERAL) | |
{ | |
SendClientMessage(playerid, COLOR_GREY, "You can't use this command as you aren't a federal agent."); | |
return 1; | |
} | |
SendClientMessage(playerid, COLOR_GREEN, "Online Bugged players:"); |
NewerOlder