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
MultiMC version: 0.6.13-2517 | |
Launched instance in online mode | |
Authentication server is online | |
authserver.mojang.com resolves to: | |
[18.67.103.68] | |
session.minecraft.net resolves to: |
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
assert(turtle,"This API may only be used on turtles!") | |
local ver = 2.5 | |
local turtleOS = turtle.inspect and 1.64 or fs.getDir and 1.63 or turtle.equipRight and 1.6 or peripheral.getNames and 1.51 | |
local tFile = { | |
--file path table | |
["cTurtle"] = "cTurtle" | |
} | |
tFile.directory = "/"..tFile.cTurtle.."Files" | |
tFile.data = tFile.directory.."/data" | |
tFile.restarted = tFile.directory.."/restarted" |
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
"""Ce fichier définit quelques données, sous la forme de variables, | |
utiles au programme pendu""" | |
WORDS = [ | |
'ABEILLE', | |
'ABRICOT', | |
'ABSENT', | |
'ABÎMÉ', | |
'ACCIDENT', | |
'ACHETER', |
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
{"version":1,"resource":"file:///home/quentin/Documents/CNAM/test.kts","entries":[{"id":"daXv.kts","timestamp":1651993124263},{"id":"lSiS.kts","timestamp":1651993997830},{"id":"6p6Z.kts","timestamp":1651994055016},{"id":"GC2l.kts","timestamp":1651994108985},{"id":"7wy5.kts","timestamp":1651994126744},{"id":"12AZ.kts","timestamp":1651994169102},{"id":"G0nY.kts","timestamp":1651994220180},{"id":"yKUR.kts","timestamp":1651994277597},{"id":"MQ9a.kts","timestamp":1651994359396},{"id":"Msjb.kts","timestamp":1651994614908}]} |
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 java.time.LocalDate; | |
import java.time.Month; | |
import java.time.format.DateTimeFormatter; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.Comparator; | |
import java.util.HashMap; | |
import java.util.HashSet; | |
import java.util.List; |
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 java.io.BufferedReader; | |
import java.io.InputStream; | |
import java.io.InputStreamReader; | |
import java.io.OutputStream; | |
import java.util.Arrays; | |
import java.util.Deque; | |
import java.util.HashMap; | |
import java.util.LinkedList; | |
import java.util.Map; | |
import java.util.Optional; |
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 java.util.Arrays; | |
import java.util.stream.Collectors; | |
import java.util.stream.IntStream; | |
public class Paintfuck { | |
public static String interpreter(String code, int iterations, int width, int height) { | |
System.out.println(code); | |
System.out.println(iterations); | |
System.out.printf("%s %s%n", width, height); |
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 class BrainLuck { | |
private static Map<String, Consumer<Data>> operations = new HashMap<>(); | |
static { | |
operations.put(">", Data::incrementPointer); | |
operations.put("<", Data::decrementPointer); | |
operations.put("+", Data::increment); | |
operations.put("-", Data::decrement); | |
operations.put(".", Data::output); | |
} |
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
-- This library provide high level turtle movement functions. | |
-- | |
-- Before being able to use them, you should start the GPS with egps.startGPS() | |
-- then get your current location with egps.setLocationFromGPS(). | |
-- egps.forward(), egps.back(), egps.up(), egps.down(), egps.turnLeft(), egps.turnRight() | |
-- replace the standard turtle functions. | |
-- If you need to use the standard functions, you | |
-- should call egps.setLocationFromGPS() again before using any egps functions. | |
-- Gist at: https://gist.github.com/SquidLord/4741746 |
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
var number; | |
var chaineFinale; | |
var numberList = { | |
0: 'zéro', | |
1: 'un', | |
2: 'deux', | |
3: 'trois', | |
4: 'quatre', | |
5: 'cinq', | |
6: 'six', |