Skip to content

Instantly share code, notes, and snippets.

Avatar

Sebastian Sastre sebastianconcept

View GitHub Profile
View gist:8d64bfd003cb90d1a38b43384ed84354
➜ telepharo git:(master) make server
make -C ../minimal
../bin/download-vm.sh
downloading get.pharo.org/32/vm80
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5306 100 5306 0 0 5034 0 0:00:01 0:00:01 --:--:-- 5034
Downloading the latest pharoVM:
http://files.pharo.org/get-files/80/pharo-mac-stable.zip
pharo-vm/Pharo.app/Contents/MacOS/Pharo
View gist:c08cb7885d6cc7a45065fb5ca90422e9
//
// MIXIN
//
import { Component, Vue } from 'vue-property-decorator'
import stringEntropy from 'fast-password-entropy'
@Component({})
export default class PasswordDefinition extends Vue {
public showPassword: boolean = false
public showConfirmation: boolean = false
View CircleCI to deploy on Google Cloud
version: 2
jobs:
build:
working_directory: /app
docker:
- image: docker:17.05.0-ce-git
auth:
#Put the contents of keyfile.json into an environment variable for the build called GCR_CREDS, which is then passed in.
username: _json_key
password: $GOOGLE_AUTH
@sebastianconcept
sebastianconcept / Smalltalk language notes
Created May 13, 2017
Smalltalk notes from basics on syntax to many useful general operations
View Smalltalk language notes
"************************* by Chris Rathman *****************************
* Allowable characters: *
* - a-z *
* - A-Z *
* - 0-9 *
* - .+/\*~<>@%|&? *
* - blank, tab, cr, ff, lf *
* *
* Variables: *
* - variables must be declared before use *
View get the bound model?
<td>
<span ng-bind="Cases.humaneNextSessionOf(case)"></span>
</td>
and in the controller we have:
...
let result = $compile(thatSpan)($scope);
View lessc failing
/** Scott Bakers Colors **/
@adr-red: #ea5a5a;
@adr-blue: #23b1f7;
@adr-yellow: #ffcc00;
@adr-green: #28bd8b;
@adr-dark: #1f222d;
@adr-light-blue: #f4f7fa;
/** Begin Guy **/
View setting a custom model from a table view controller to a detail view controller
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
switch segue.identifier! {
case "showTodoDetail":
// Get the detail view controller in a local var
let todoDetailVC = segue.destination as! TodoDetailViewController
// Get the specific model in a local var
let cell = sender as! TodoTableViewCell
You can’t perform that action at this time.