Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure 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
https://www.googleapis.com/drive/v3/files/1JtMDIskg9nfwhi85xjX1z12uiVOiFdCv/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Vocaloid Gift BOX.zip | 162202248 | |
https://www.googleapis.com/drive/v3/files/1CL1EGz_VtXFuSnPdrGcllE_7AbJMF9iv/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Stepmania France Megapack.zip | 162269939 | |
https://www.googleapis.com/drive/v3/files/1d7pY4LDGbtZKIjyM8baXqaW5L4sZbwQA/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | 7mai3 (JP region change needed).zip | 162225099 | |
https://www.googleapis.com/drive/v3/files/1hTAoP6uv27rWJlHJj55rMOELShJ0I8fL/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | SS 25th Style.zip | 162218987 | |
https://www.googleapis.com/drive/v3/files/11Qw3sI7WkqY_n2Gj54PxcMvCdIKpPTS7/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | HBK Synchro 76-100.zip | 204019659 | |
https://www.googleapis.com/drive/v3/files/1ZetJdAoi94DWYKPgmj6uQAXPYfewCE00/?key=AIzaSyDLR4VS63Vx3Odfq5rDtRhqmDsDSvxyL9w&alt=media | Estepper Exclusives 2.zip | 203434209 |
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/python | |
"""Convert all of your Viscosity connections into OVPN configuration files for OpenVPN | |
https://gist.github.com/ishahid/693c2c97b3236a3c2416fc09ab170244 | |
""" | |
import re | |
import glob | |
from os.path import expanduser, dirname |
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; | |
class NonCapturing { | |
public static void main(String... args) { | |
run(new Runnable() { | |
@Override public void run() { | |
System.out.println("Hey!"); | |
} | |
}); | |
} |
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 python3 | |
import concurrent.futures.thread | |
import sys | |
import time | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
def remove_file(path): | |
print('Removing file %s' % path) |
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
/* | |
* Copyright (C) 2015 Jake Wharton | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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.publicobject.quine; | |
import com.squareup.javapoet.FieldSpec; | |
import com.squareup.javapoet.JavaFile; | |
import com.squareup.javapoet.MethodSpec; | |
import com.squareup.javapoet.TypeSpec; | |
import javax.lang.model.element.Modifier; | |
class Quine { | |
static String PACKAGE = "com.publicobject.quine"; |
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 com.google.auto.value.AutoValue; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.Target; | |
import static java.lang.annotation.ElementType.TYPE; | |
import static java.lang.annotation.RetentionPolicy.RUNTIME; | |
/** | |
* Marks an {@link AutoValue @AutoValue}-annotated type for proper Gson serialization. | |
* <p> |
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 AccountAuthenticator extends AbstractAccountAuthenticator { | |
private final Context context; | |
@Inject @ClientId String clientId; | |
@Inject @ClientSecret String clientSecret; | |
@Inject ApiService apiService; | |
public AccountAuthenticator(Context context) { | |
super(context); |
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
# INSTALL INSTRUCTIONS: save as ~/.gdbinit | |
# | |
# DESCRIPTION: A user-friendly gdb configuration file. | |
# | |
# REVISION : 7.3 (16/04/2010) | |
# | |
# CONTRIBUTORS: mammon_, elaine, pusillus, mong, zhang le, l0kit, | |
# truthix the cyberpunk, fG!, gln | |
# | |
# FEEDBACK: https://www.reverse-engineering.net |
NewerOlder