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
| common: | |
| parameters: | |
| adminer_editor: | |
| role: moderator | |
| database: | |
| host: localhost | |
| dbname: yourDbName | |
| user: yourDbUser | |
| password: yourDbOass |
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
| #include <iostream> | |
| #include <vector> | |
| #include <string> | |
| #include <windows.h> | |
| #include <algorithm> | |
| #include <iterator> | |
| template <class InIter1, class InIter2, class OutIter> | |
| void find_all(unsigned char *base, InIter1 buf_start, InIter1 buf_end, InIter2 pat_start, InIter2 pat_end, OutIter res) { | |
| for (InIter1 pos = buf_start; |
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
| package main | |
| import ( | |
| "bytes" | |
| "encoding/csv" | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" |
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
| apiVersion: v1 | |
| kind: Namespace | |
| metadata: | |
| name: frp | |
| --- | |
| apiVersion: v1 | |
| kind: LimitRange | |
| metadata: |
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
| class CountdownCard extends HTMLElement { | |
| set hass(hass) { | |
| if (!this.content) { | |
| const card = document.createElement('ha-card'); | |
| card.header = 'Timer'; | |
| this.content = document.createElement('div'); | |
| this.content.style.padding = '0 16px 16px'; | |
| card.appendChild(this.content); | |
| this.appendChild(card); | |
| } |
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
| package main | |
| import ( | |
| "fmt" | |
| "github.com/tushar2708/altcsv" | |
| "log" | |
| "os" | |
| "strconv" | |
| "strings" | |
| ) |
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
| FROM php:7.1-fpm-alpine | |
| RUN apk add --update \ | |
| autoconf \ | |
| g++ \ | |
| libtool \ | |
| make \ | |
| && docker-php-ext-install mbstring \ | |
| && docker-php-ext-install mysqli \ |
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
| *.* |
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 bpy | |
| # https://blender.stackexchange.com/questions/5281/blender-sets-compute-device-cuda-but-doesnt-use-it-for-actual-render-on-ec2 | |
| bpy.context.user_preferences.addons['cycles'].preferences.compute_device_type = 'CUDA' | |
| bpy.context.user_preferences.addons['cycles'].preferences.devices[0].use = True | |
| bpy.context.scene.cycles.device = 'GPU' | |
| bpy.data.scenes["Scene"].render.filepath = "/tmp/output.png" | |
| bpy.ops.render.render(write_still=True) |
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
| sudo yum -y install freetype freetype-devel libpng-devel | |
| sudo yum -y install mesa-libGLU-devel | |
| sudo yum -y install libX11-devel mesa-libGL-devel perl-Time-HiRes | |
| # Insert any url for Linux 64 bit blender | |
| # https://builder.blender.org/download/ | |
| wget 'https://builder.blender.org/download/blender-2.78-81d7ff84769-linux-glibc219-x86_64.tar.bz2' | |
| tar -jxvf blender*.tar.bz2 |
NewerOlder