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
^[0-9]{1,3}[Cc][Hh][0-9]{3}$ |
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 | |
# credentials | |
username="USERNAME" | |
password="PASSWORD" | |
# settings | |
start_url="http://google.com" | |
login_url_check_sub_str="fgtauth?" |
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/env python | |
# -*-coding:Utf-8 -* | |
import time | |
from picamera import PiCamera | |
from datetime import datetime | |
"""Take picture every hour""" |
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
/* | |
Name: AutoDoorLatching.ino | |
Created: 07/08/2016 12:28:27 | |
Author: Lancelot H. (Azuxul) | |
Minimum memory : 2Kb | |
Tested on Ardunio nano, Arduino mini pro (3.3v, 8MHz) (ALL WITH AN ATMEGA328P) | |
Copyright 2016 - Lancelot H. (Azuxul) | |
*/ |
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
/* | |
* Jeux Blocky : Pond JS, level 10 | |
* Created by Azuxul on Monday April 5th | |
*/ | |
var deafultDirection = 0; | |
while(true) { | |
var direction = -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
@EventHandler | |
public void onBlockPlace(BlockPlaceEvent event) { | |
Player recucitePlayer; | |
if(event.getItemInHand().getType().equals(Material.SKULL_ITEM)) { | |
SkullMeta meta = (SkullMeta) | |
event.getItemInHand().getItemMeta(); | |
String owner = meta.getOwner(); |
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
// Use this before : https://gist.github.com/Azuxul/7310544b62b6fc14f1e8 | |
String owner = "Azuxul"; | |
boolean ownerIsConnected; | |
for(Player player : Bukkit.getOnlinePlayers()) | |
if(player.getName().equalsIgnoreCase(owner)) | |
ownerIsConnected = true; | |
// Azuxul 2015 |
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
@EventHandler | |
public void onBlockPlace(BlockPlaceEvent event) { | |
if(event.getItemInHand().getType().equals(Material.SKULL_ITEM)) { | |
SkullMeta meta = (SkullMeta) event.getItemInHand().getItemMeta(); | |
String owner = meta.getOwner(); | |
} | |
} | |
// Azuxul 2015 |
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
public static void sendElderGuardianAnimation(Player player) { | |
try { | |
((CraftPlayer)player).getHandle().playerConnection.sendPacket(new PacketPlayOutGameStateChange(10, 0.0F)); | |
} | |
catch (Exception e) { | |
Logger.getLogger("Azuxul").warning("Bukkit version is not compatible or spigot is used ! " + e.getCause()); | |
} | |
} |
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
/* | |
* Created by Azuxul, September 2015 | |
* http://azuxul.fr/ | |
* | |
* --------------------------------- | |
* | |
* Print UID of RFID card to I2C LCD scren for nano Arduino v3 | |
* | |
* RFID MODULE : RFID-RC522 | |
* LCD : GDM1602A |