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
choco install office-tool | |
choco install git | |
choco install zip | |
choco install unzip | |
choco install chocolateygui | |
choco install lockhunter | |
choco install linkshellextension | |
# Required to have xmllint working in clink (which in turn is useful for maven decoration in flexprompt) | |
choco install xsltproc | |
choco install teracopy |
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 requests | |
from bs4 import BeautifulSoup | |
import codecs | |
import json | |
import pyautogui | |
import pyperclip | |
def main(): | |
words = list() | |
with codecs.open("words.txt", "r", "utf-8") as f: |
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.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
class Feuille implements Visitable { | |
public String montrerFeuille() { return "🍃"; } | |
@Override public <Type> Type accept(Visitor<Type> v) { return v.visit(this); } | |
} | |
class Fleur implements Visitable { |
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
class Feuille implements Visitable { | |
public String montrerFeuille() { return "🍃"; } | |
@Override public void accept(Visitor v) { v.visit(this); } | |
} | |
class Fleur implements Visitable { | |
public String afficherFleur() { return "🌺"; } | |
@Override public void accept(Visitor v) { v.visit(this); } | |
} |
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
class Feuille implements Visitable { | |
public String montrerFeuille() { return "🍃"; } | |
@Override public void accept(Visitor v) { v.visit(this); } | |
} | |
class Fleur implements Visitable { | |
public String afficherFleur() { return "🌺"; } | |
@Override public void accept(Visitor v) { v.visit(this); } | |
} |
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.List; | |
class Feuille implements Affichable { | |
public String montrerFeuille() { return "🍃"; } | |
@Override public String afficher() { return montrerFeuille(); } | |
} | |
class Fleur implements Affichable { | |
public String afficherFleur() { return "🌺"; } |
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.List; | |
class Feuille { | |
public String montrerFeuille() { return "🍃"; } | |
} | |
class Fleur { | |
public String afficherFleur() { return "🌺"; } | |
} | |
public class Main { |
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
package com.adeo.costing.computer.swagger; | |
import static org.assertj.core.api.Assertions.assertThat; | |
import static org.junit.jupiter.api.DynamicTest.dynamicTest; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
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
fizzbuzz::Int->String | |
fizzbuzz n | (mod n 3)==0 && (mod n 5)==0 = "FizzBuzz" | |
| (mod n 3)==0 = "Fizz" | |
| (mod n 5)==0 = "Buzz" | |
| otherwise = show n | |
main = do | |
print $"3="++(fizzbuzz 3) | |
print $"4="++(fizzbuzz 4) | |
print $"5="++(fizzbuzz 5) |
NewerOlder