This gist is used to contain list of issues I've encountered with entities. Luckily, all have been resolved.
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
<? | |
///////////////////// | |
// slack2html | |
// by @levelsio | |
///////////////////// | |
// | |
///////////////////// | |
// WHAT DOES THIS DO? | |
///////////////////// | |
// |
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 bash | |
git remote -v | grep fetch | grep github | \ | |
while read remote url _; do | |
if ! git config --get-all "remote.$remote.fetch" | grep -q refs/pull | |
then | |
git config --add "remote.$remote.fetch" \ | |
'+refs/pull/*/head:refs/remotes/'"$remote"'/pull/*' | |
fi | |
done |
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
https://www.gnu.org/licenses/gpl-3.0.en.html | |
GNU GENERAL PUBLIC LICENSE v3 |
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
# Python Noob Generator by rubenwardy | |
# License: WTFPL | |
# See IRC bot using this: https://gist.github.com/rubenwardy/8863c20a75e4faad3562 | |
# Example: | |
### a random team mate shot your mum also dat enemy scouted a | |
### random gun and a random gun covered a random gun but also your | |
### mum nuked dat arsehole also a random thingy ran it like a arsehole blew up a kid | |
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
-- collect items (based on PilzAdam's item_drop mod) | |
local ttime = 0 | |
minetest.register_globalstep(function(dtime) | |
ttime = ttime + dtime | |
if ttime < 1 then return end | |
ttime = 0 | |
for _,player in ipairs(minetest.get_connected_players()) do | |
if player:get_hp() > 0 and not player:get_player_control().LMB then |
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
minetest.register_biome({ | |
--The name of the biome. This needs to be unique. | |
name = "beach", | |
--The name of the surface node. | |
node_top = "default:sand", | |
--How far the surface node goes down. | |
depth_top = 2, | |
--The node underneath the surface nodes. | |
node_filler = "default:sandstone", | |
--How far the filler nodes go down. (After they end, stone starts.) |
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
-- default/player.lua | |
-- Minetest 0.4 mod: player | |
-- See README.txt for licensing and other information. | |
--[[ | |
API | |
--- | |
default.player_register_model(name, def) |
- Update the iPad (v5.1.1?) to the latest iOS and make a backup using iTunes
- Install the sshpass program on your laptop. Ansible will need this to connect over ssh using a password.
- Jailbreak the iPad using redsn0w -- you now have Cydia
- Use Cydia to install "MobileTerminal", "OpenSSH", "Python", and "Setup Tools"
- Follow the "MobileTerminal" instructions in Cydia for changing the default passwords
- Locate your iPad's IP address by looking in Settings.app > Wi-Fi and clicking your connected networks detail ">" arrow
- SSH into your iPad and make sure you add IP address to list of known hosts
- Place IP address into an Ansible hosts file
NewerOlder