I hereby claim:
- I am jlleblanc on github.
- I am jlleblanc (https://keybase.io/jlleblanc) on keybase.
- I have a public key ASBKAh4rNT-IIeKwhEmzGoeV4kZDgaOyIqSE2EoUugNlggo
To claim this, I am signing this object:
| import os | |
| def create_file_structure(base_path="."): | |
| file_structure = {} | |
| for root, dirs, files in os.walk(base_path): | |
| relative_path = os.path.relpath(root, base_path) | |
| for dir_name in dirs: | |
| file_structure[os.path.join(relative_path, dir_name)] = {} |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style> | |
| #centerpiece { | |
| position: absolute; | |
| width: 99%; |
| module Main exposing (..) | |
| import Html exposing (Html, text, div, img, button) | |
| import Html.Events exposing (..) | |
| import Http | |
| import Json.Decode as Decode | |
| type Msg | |
| = TruffleFeed (Result Http.Error String) |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am jlleblanc on github. | |
| * I am jlleblanc (https://keybase.io/jlleblanc) on keybase. | |
| * I have a public key whose fingerprint is 3622 6D6B DEE2 BA99 E058 C85D ADD2 7B9D 8C28 288A | |
| To claim this, I am signing this object: |
| var browserify = require('browserify-middleware'); | |
| var express = require('express'); | |
| server = express(); | |
| // Setup scripts/targets middleware. | |
| server.use('/scripts', browserify('../src/scripts')); |
| <?php | |
| $options = array( | |
| 'loop' => false, | |
| 'autoSlide' => true, | |
| 'dispItems' => 3, | |
| // continue this array with everything you want to set | |
| ); |
| <?php | |
| // Save the user | |
| if (!$model->save($data)) | |
| { | |
| print 'crap!'; | |
| die(); | |
| } |
| <?php | |
| $image = new JImage('/path/to/original.jpg'); | |
| $height = $image->getHeight(); | |
| $width = $image->getWidth(); | |
| if ($height > $width) { | |
| $crop_square = $width; | |
| $crop_top = ($height - $width) / 2; |