This file contains hidden or 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
includes: | |
- %rootDir%/../../nunomaduro/larastan/extension.neon | |
parameters: | |
paths: | |
- app | |
- tests | |
# The level 8 is the highest level |
This file contains hidden or 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
Const PostEAC15 = "Suivi post VEAC15" | |
Const LotV6 = "Lots V6" | |
Const ARemplir = "A remplir" | |
' Sub pour copier plusieurs colonnes vers un autre onglet | |
' Après avoir vérifier la cohérence entre plusieurs versions | |
Sub MacroCheckNCopy() | |
Dim i As Integer |
This file contains hidden or 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 | |
password=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c 16 | xargs) | |
htpasswd -b /var/ddl.htpasswd korko "$password" | |
echo "Password set to: "$password | mail -s "Password ddl" "korko@localhost" |
This file contains hidden or 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
#paste this line in the console of the devtools (F12) and replace 10000 by your limit in milliseconds (10000ms = 10s) | |
setInterval(function(){if(r.thebutton._msLeft<=10000){var n = {seconds: r.thebutton._msgSecondsLeft,prev_seconds: r.thebutton._msgSecondsLeft,tick_time: r.thebutton._tickTime,tick_mac: r.thebutton._tickMac};$.request("press_button",n);}},0); |
This file contains hidden or 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
git shortlog -s | cut -f2 | while read a; do git log --author="$a" --pretty=tformat: --numstat | awk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { print "'"$a"',"add","subs","loc }'; done | awk '{ print; split($0,a,","); total += a[2] } END { print "Total,"total",0,"total }' | sort -nrk2 -t',' | while read l; do a=`echo $l | cut -d',' -f1`; if [ "$a" == "Total" ]; then t=`echo $l | cut -d',' -f2`; fi; mt=`echo $l | cut -d',' -f2`; echo $l","`awk 'BEGIN { printf("%d", '$mt'/'$t'*100) }'`; done | tail -n +2 |
This file contains hidden or 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 | |
PACK_NAME="DNSTechpack" | |
SERVER_FILE=$2 | |
usage() { | |
echo "Usage: $0 {get|update} (new version file)" | |
return 1 | |
} |
This file contains hidden or 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
/scoreboard objectives add DoorProximity dummy | |
/scoreboard objectives add DoorProximity_ dummy | |
/scoreboard objectives add DoorMove dummy | |
/scoreboard objectives add DoorClock dummy | |
/scoreboard objectives add DoorType dummy | |
/scoreboard players set @e[type=ArmorStand,name=Door] DoorProximity_ 0 | |
/execute @e[type=ArmorStand,name=Door] ~ ~ ~ scoreboard players operation @e[r=0,c=1] DoorProximity_ = @e[r=0,c=1] DoorProximity | |
/scoreboard players set @e[type=ArmorStand,name=Door] DoorProximity 0 |
This file contains hidden or 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
# CommandBlock order : West, East, Down, Up, North, South | |
# /give @p minecraft:diamond_hoe 1 0 {display:{Name:"RoadBuilder"}} | |
# Only call once | |
/scoreboard objectives add RoadBuilding dummy | |
/scoreboard objectives add RoadBuildingC dummy | |
# Around a fast clock (20t/s) | |
# /fill ~ ~-1 ~ ~ ~-1 ~-1 redstone_block |
This file contains hidden or 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
# CommandBlock order : West, East, Down, Up, North, South | |
# Only call once | |
/scoreboard objectives add Spawn dummy | |
/scoreboard objectives add SpawnSave dummy | |
# Around a fast clock (20t/s) | |
# /fill ~ ~-1 ~ ~ ~-1 ~-1 redstone_block | |
# /fill ~ ~1 ~ ~ ~1 ~-1 stone |
NewerOlder