duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| #!/bin/sh | |
| apt update -y && apt upgrade -y | |
| apt install -y git automake make gobjc++ libtool pkg-config libmspack-dev libglib2.0-dev libpam0g-dev libssl-dev libxml2-dev libxmlsec1-dev libx11-dev libxext-dev libxinerama-dev libxi-dev libxrender-dev libxrandr-dev libxtst-dev libgdk-pixbuf2.0-dev libgtk-3-dev libgtkmm-3.0-dev | |
| git clone https://github.com/vmware/open-vm-tools.git | |
| cd open-vm-tools/open-vm-tools/ | |
| autoreconf -i | |
| ./configure --disable-dependency-tracking | |
| make | |
| make install | |
| ldconfig |
| // I did this in Chrome... | |
| // | |
| // Go to https://www.facebook.com/ads/preferences/ | |
| // Click the "Advertisers" section to open it up. | |
| // Click "See more" once | |
| // Before doing anything else, just keep clicking space bar to trigger the "see more" button | |
| // Do this for a bit until all the advertisers are loaded | |
| // then run this below in the dev tools console... | |
| // (It will take a few minutes, depending how many you have, and your browser may lock up, but once it's done you will see it auto clicked the "remove" X in the top right for all of them) |
| // Assuming you already have NodeJS, npm and gulp installed | |
| // and followed instructions at: | |
| // https://www.browsersync.io/docs/gulp/ | |
| // | |
| // save this file at <<DJANGO PROJECT ROOT>> | |
| // on your terminal: | |
| // $ cd <<DJANGO PROJECT ROOT>> | |
| // $ gulp | |
| // this will open a browser window with your project |
| /* | |
| 1. Adhere to the NSURLSessionDelegate delegate | |
| 2. Initialize NSURLSession and specify self as delegate (e.g. [NSURLSession sessionWithConfiguration:defaultConfigObject delegate:self delegateQueue: [NSOperationQueue mainQueue]];) | |
| 3. Add the method below to your class | |
| 4. Change the certificate resource name | |
| */ | |
| - (void)URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential *))completionHandler | |
| { | |
| SecTrustRef serverTrust = challenge.protectionSpace.serverTrust; |
| #!/usr/bin/env bash | |
| #Install ChromiumOS touchpad driver for linux chroot (crouton) on Acer C720P (Peppy) Chromebook. | |
| #This makes the touchpad behave and respond like it does in ChromeOS. | |
| #See: https://github.com/hugegreenbug/xf86-input-cmt/issues/6 | |
| #I posted a note about this script in: https://groups.google.com/forum/#!topic/crouton-central/claM9XZxsz0 | |
| #and https://github.com/dnschneid/crouton/wiki/Acer-C720-C720P#touchpad | |
| #After creating/installing this driver, look at: | |
| #https://github.com/hugegreenbug/xf86-input-cmt#notes |
Here are my attempts to script an IntelliJ-based IDE using javax.script.* API (ex-JSR-223).
The list of available scripting languages and engines:
<app>/lib/groovy-jsr223-xxx.jar<app>/jbr/... (deprecated and will be removed soon)| /** @jsx React.DOM */ | |
| var SVGComponent = React.createClass({ | |
| render: function() { | |
| return this.transferPropsTo( | |
| <svg>{this.props.children}</svg> | |
| ); | |
| } | |
| }); |
| #! /usr/bin/ruby | |
| require 'pathname' | |
| platform = "iphonesimulator" # or "macosx" | |
| contents_xcplayground = <<XML | |
| <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
| <playground version='1.0' sdk='#{platform}'> | |
| <sections> | |
| <code source-file-name='section-1.swift'/> | |
| </sections> |