I hereby claim:
- I am philippbosch on github.
- I am philippbosch (https://keybase.io/philippbosch) on keybase.
- I have a public key whose fingerprint is 9BCE E011 6753 E7FD 928D F104 30C4 4A80 A8D2 4676
To claim this, I am signing this object:
| /* iOS Native App Default Style implemented in CSS */ | |
| /* Bootstrapping … */ | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| font-size: inherit; | |
| -webkit-tap-highlight-color: rgba(0,0,0,0); | |
| } |
| <h2>Installation</h2> | |
| <p> | |
| Drag and drop the following link to your bookmarks bar:<br> | |
| <a href="javascript:(function() { var elem=document.createElement('script'); elem.setAttribute('src', 'https://gist.github.com/philippbosch/5018940/raw/pinterest-slideshow.js?t='+(new Date().getTime())); document.body.appendChild(elem); }())">Slideshow</a> | |
| </p> |
| var sprintf = require('sprintf').sprintf; // only needed for formatting the console output | |
| var counter = 0; | |
| var increase = Math.PI * 2 / 50; | |
| var i=0; | |
| setInterval(function() { | |
| var val = Math.sin(counter-Math.PI/2)/2+0.5; | |
| counter += increase; | |
| console.log(sprintf("%.3f %" + Math.round(val*60) + "s", val, ".")); |
| unsigned int i = 0; | |
| void setup() { | |
| Serial.begin(9600); | |
| } | |
| void loop() { | |
| char buffer[50]; | |
| sprintf(buffer, "the current value is %d", i++); | |
| Serial.println(buffer); |
| from django.core.files.base import ContentFile | |
| uploaded_file = ContentFile(request.raw_post_data) | |
| uploaded_file.name = "filename.txt" | |
| my_object.file = uploaded_file | |
| my_object.save() |
| @import "compass/css3/shared"; | |
| @mixin keyframes($name) { | |
| @-webkit-keyframes $name { | |
| @content; | |
| } | |
| @-moz-keyframes $name { | |
| @content; | |
| } |
| FROM python:3.7 | |
| ENV PYTHONUNBUFFERED 1 | |
| ENV WERKZEUG_DEBUG_PIN off | |
| ENV DJANGO_SETTINGS_MODULE myproject.settings.dev | |
| RUN apt-get update && \ | |
| apt-get install -y gettext postgresql-client libpq-dev \ | |
| --no-install-recommends && rm -rf /var/lib/apt/lists/* | |
| RUN mkdir /code | |
| COPY requirements.txt requirements-dev.txt /code/ | |
| RUN pip install -r /code/requirements-dev.txt |
| #!/bin/bash | |
| export PATH=$PATH:/usr/local/bin | |
| COUNT=$(curl -s -H 'Authorization: bearer <TOKEN>' -X POST -d '{"query": "{search(query: \"is:pr is:open archived:false sort:updated-desc review-requested:philippbosch\", type: ISSUE, first: 10){issueCount}}"}' https://api.github.com/graphql | jq .data.search.issueCount) | |
| if [ "$COUNT" -ne "0" ] ; then | |
| echo "$COUNT ⎇|color=#ff9900 size=12 href=https://github.com/pulls?q=is%3Apr+is%3Aopen+archived%3Afalse+sort%3Aupdated-desc+review-requested%3Aphilippbosch" | |
| fi |
| @mixin rgba-background($color, $opacity) { | |
| background-color: $color; | |
| background-color: rgba($color, $opacity); | |
| background-color: transparent\9; | |
| filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))},endColorstr=#{'#'+hex(round($opacity*255)) + '' + hex(red($color)) + '' + hex(green($color)) + '' + hex(blue($color))}); | |
| zoom: 1; | |
| } |
I hereby claim:
To claim this, I am signing this object: