Skip to content

Instantly share code, notes, and snippets.

:octocat:
Without intelligence

Final Child finalchild

:octocat:
Without intelligence
View GitHub Profile
@akost
akost / convert.sh
Created Apr 4, 2012
Bash script for recursive file convertion windows-1251 --> utf-8
View convert.sh
#!/bin/bash
# Recursive file convertion windows-1251 --> utf-8
# Place this file in the root of your site, add execute permission and run
# Converts *.php, *.html, *.css, *.js files.
# To add file type by extension, e.g. *.cgi, add '-o -name "*.cgi"' to the find command
find ./ -name "*.php" -o -name "*.html" -o -name "*.css" -o -name "*.js" -type f |
while read file
do
@Dinnerbone
Dinnerbone / minecraft_commands.txt
Last active Apr 28, 2020
Minecraft Java Edition 1.13 changes
View minecraft_commands.txt
advancement grant <targets> everything
advancement grant <targets> from <advancement>
advancement grant <targets> only <advancement>
advancement grant <targets> only <advancement> <criterion>
advancement grant <targets> through <advancement>
advancement grant <targets> until <advancement>
advancement revoke <targets> everything
advancement revoke <targets> from <advancement>
advancement revoke <targets> only <advancement>
advancement revoke <targets> only <advancement> <criterion>
You can’t perform that action at this time.