This file contains hidden or 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 scala.reflect.macros.Context | |
import scala.language.experimental.macros | |
object Impls { | |
def impl[A](c: reflect.macros.Context) = c.universe.reify(()) | |
} | |
object Macros { | |
def decl[A] = macro Impls.impl[A] | |
} |
This file contains hidden or 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
apache2 aptdaemon apt-file banshee brasero camorama caribou cinnamon cinnamon-screensaver colord colord command-not-found console-setup console-setup-linux cups cups-filters desktop-base docbook-xml docbook-xsl dpkg-dev emboss-lib engrampa eom fancontrol fancontrol file-roller fonts-cantarell fusion-icon gimp git gksu gnome-bluetooth gnome-colors-common gnome-control-center gnome-keyring gnome-media gnome-menus gnome-mplayer gnome-power-manager gnome-ppp gnome-settings-daemon gnome-system-monitor gnome-terminal gnome-themes gnome-wise-icon-theme gnupg-agent gnustep-base-common gnustep-base-runtime gnustep-common google-chrome-stable gparted graphviz gthumb gucharmap gufw hardinfo hplip jalview kate kate-data kdelibs5-data kde-runtime kde-runtime-data keyboard-configuration latex-beamer latex-xcolor libapache2-mod-dnssd libapache2-mod-perl2 libatril libatspi1.0-0 libbonoboui2-0 libboo2.0.9-cil libboost-system1.53.0 libbrasero-media3-1 libcaja-extension libclutter-gtk-0.10-0 libedata-book-1.2-13 libedataserveru |
This file contains hidden or 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
# Contributor: Jan Stępień <jstepien@users.sourceforge.net> | |
pkgname=cudpp | |
pkgver=2.0 | |
pkgrel=2 | |
pkgdesc="The CUDA Data Parallel Primitives Library" | |
arch=('i686' 'x86_64') | |
url="http://code.google.com/p/cudpp" | |
license=('BSD') | |
depends=('cuda') |
This file contains hidden or 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
##### Defined in the script ##### | |
# CURRENT_DIR: execution dir | |
##### | |
##### local dirs ##### | |
# Unlikely to need modification | |
#ZINC_DIR=${CURRENT_DIR}/zinc | |
#BUILD_DIR=${CURRENT_DIR}/target | |
#LOCAL_M2_REPO=${BUILD_DIR}/m2repo | |
#P2_CACHE_DIR=${BUILD_DIR}/p2cache |
This file contains hidden or 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
>>>>> Check arguments | |
>>>>> Load config | |
>>>>> Setup logging | |
>>>>> Set flags | |
>>>>> Check prerequisites | |
>>>>> Check configuration | |
0 | |
>>>>> Scala | |
----- org.scala-lang:scala-compiler:jar:2.11.3-SNAPSHOT found ! | |
>>>>> Zinc |
This file contains hidden or 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
##### Defined in the script ##### | |
# CURRENT_DIR: execution dir | |
##### | |
##### local dirs ##### | |
# Unlikely to need modification | |
#ZINC_DIR=${CURRENT_DIR}/zinc | |
#BUILD_DIR=${CURRENT_DIR}/target | |
#LOCAL_M2_REPO=${BUILD_DIR}/m2repo | |
#P2_CACHE_DIR=${BUILD_DIR}/p2cache |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
{ | |
"metadata" : { | |
"name" : "Spark_training-with-exercises", | |
"user_save_timestamp" : "1970-01-01T01:00:00.000Z", | |
"auto_save_timestamp" : "1970-01-01T01:00:00.000Z", | |
"language_info" : { | |
"name" : "scala", | |
"file_extension" : "scala", | |
"codemirror_mode" : "text/x-scala" | |
}, |
This file contains hidden or 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 | |
import re | |
import mechanize | |
myuser = "" | |
mypassword = "" | |
br = mechanize.Browser() | |
br.add_password("http://bookmooch.com",myuser, mypassword) | |
br.set_handle_robots(False) |
This file contains hidden or 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 ecs | |
ecs.setLicenseKey('FILLLICENSEKEYHERE') | |
ecs.setSecretAccessKey('FILLSACCESSKEYHERE') | |
ecs.setLocale('us') | |
# O.S. books : node 3756 | |
ecssearch = ecs.ItemSearch('', SearchIndex='Books', | |
ResponseGroup='Medium',BrowseNode='3756') | |
for i in range (1,100): | |
try: | |
if (int(ecssearch[i].NumberOfPages) < 150): |
OlderNewer