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
# default interpreter is BASH | |
my-target: | |
echo "hello" | |
X=1 | |
echo "this is X: $X" | |
# One target may use Python | |
my-other-target.py: | |
i = 5 | |
print "hello there %d" % i |
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
define my_test = | |
cd /tmp | |
pwd | |
X="hello $(pwd)" | |
echo "here is $X" | |
endef | |
test: ; @$(value my_test) | |
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
.ONESHELL: | |
SHELL = /bin/bash | |
.SHELLFLAGS = -e | |
test: | |
cd /tmp | |
X=$(pwd) | |
echo "here is $$X" |
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
#!/bin/bash | |
# HOWTO: | |
# Create csr, buy certificate, get .crt from somewhere, save it as server.crt | |
# run this script | |
cat server.crt \ | |
COMODORSADomainValidationSecureServerCA.crt \ | |
COMODORSAAddTrustCA.crt \ | |
AddTrustExternalCARoot.crt > server.chained.crt |
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
#!/bin/bash | |
#bash ./library-repos-install.sh --install-or-update | |
cd ~/kicad_sources/kicad-lib.bzr | |
bzr update | |
echo "Copying modules, library and template to /usr/local/share/kicad/" | |
sudo cp ~/kicad_sources/kicad-lib.bzr/{modules,library,template} /usr/local/share/kicad -a | |
sudo chown root:staff /usr/local/share/kicad/* | |
sudo chmod 755 /usr/local/share/kicad/* |
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
#!/usr/bin/env python | |
__author__ = 'ceremcem' | |
import cv2 | |
import numpy as np | |
def test_cv(): | |
c = cv2.VideoCapture('1.jpg') |
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
moved to: https://github.com/ceremcem/kicad-install | |
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
<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html lang="en" class="no-js"><!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<meta name="description" content="aktos elektronik: yazılım - donanım - otomasyon - telemetri - IoT. Geniş çaplı otomasyon, telemetri ve IoT projelerinde kullanılmak üzere yerli üretim yazılım ve donanım üretir, doğrudan uygulama yapar."> | |
<link rel="icon" type="image/png" href="img/aktos-icon.png"> |
This file has been truncated, but you can view the full file.
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
Tue, 13 Oct 2015 22:50:14 GMT brunch:watch Loaded plugins: css-brunch, jade-static-brunch, javascript-brunch, less-brunch, livescript-brunch | |
Tue, 13 Oct 2015 22:50:14 GMT brunch:file-list Reading 'node_modules/jade-static-brunch/node_modules/jade/runtime.js' | |
Tue, 13 Oct 2015 22:50:14 GMT brunch:watch File 'app' received event 'addDir' | |
Tue, 13 Oct 2015 22:50:15 GMT brunch:watch File 'test' received event 'addDir' | |
Tue, 13 Oct 2015 22:50:15 GMT brunch:watch File 'vendor' received event 'addDir' | |
Tue, 13 Oct 2015 22:50:15 GMT brunch:watch File 'package.json' received event 'add' | |
Tue, 13 Oct 2015 22:50:15 GMT brunch:watch File 'config.coffee' received event 'add' | |
Tue, 13 Oct 2015 22:50:15 GMT brunch:source-file Initializing fs_utils.SourceFile: {"path":"node_modules/jade-static-brunch/node_modules/jade/runtime.js","isntModule":true,"isWrapped":true} | |
Tue, 13 Oct 2015 22:50:15 GMT brunch:pipeline Compiling 'node_modules/jade-static-brunch/node_modules/jade/runtime.js' with 'JavaScriptCompiler' | |
Tue, 13 Oct 2015 22:50: |
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 time | |
class a: | |
def do_something(self, x): | |
return x**2 | |
def do_something1(self, x): | |
return x**2 | |