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 fs = new ActiveXObject("Scripting.FileSystemObject"); | |
var shell = new ActiveXObject("WScript.Shell"); | |
var url = WScript.Arguments(0); | |
var to; | |
try { | |
to = WScript.Arguments(1); | |
} catch(err) { | |
to = null; |
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 layout adds some easier shortcuts to insert common latin accented letters | |
on top of the standard AltGr shortcuts. Some deadkeys were added to an UK | |
International layout: | |
' as ´ (AltGr + /, modified to use ç and Ç instead of ć and Ć, AltGr combination intact) | |
~ as a deadkey (AltGr + ~) | |
` as a deadkey | |
^ as a deadkey (AltGr + ^) | |
" as a deadkey (AltGR + :) |
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 flisboac; | |
import java.io.IOException; | |
import java.util.Scanner; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.HashMap; | |
import java.util.ArrayList; | |
import java.util.regex.Pattern; |
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
A simple, yet complex, yet complete, yet big, example of vector multiplication, implemented in both CPU and GPU (using OpenCL). |
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
Caso de uso: Usuário realiza cadastro de outros usuários | |
Descrição: ... | |
Cenário: Usuário entra na tela de cadastro para editar | |
Quando: Usuário digita e-mail *@localhost | |
Então: Falhar | |
Cenário: Fornecendo idade | |
Se idade for maior que 85 | |
Então solicitar idade menor |
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
Sorts and prints the integer set passed as program arguments. |
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.BufferedInputStream; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Scanner; |
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.Calendar; | |
import java.util.Date; | |
import java.util.LinkedHashSet; | |
import java.util.List; | |
import java.util.Objects; | |
import java.util.Random; |
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 | |
default_impl = object() | |
no_impl = object() | |
def _empty_impl(): | |
pass | |
def _is_empty_impl(fn, pfn = None): | |
return _empty_impl.__code__.co_code == fn.__code__.co_code |
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 | |
from functools import total_ordering | |
@total_ordering | |
class avg(object): | |
@property | |
def empty(self): |
OlderNewer