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
| <?xml version='1.0' encoding='UTF-8'?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd" > | |
| <!-- | |
| Ref: https://trac.macports.org/attachment/ticket/27791/Portfile.diff | |
| --> | |
| <plist version='1.0'> | |
| <dict> | |
| <key>Label</key> | |
| <string>org.macports.sane-backends</string> |
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 <thrust/device_vector.h> | |
| #include <thrust/host_vector.h> | |
| struct init_functor | |
| { | |
| float* data_device; | |
| init_functor(float* const data_device) | |
| : data_device(data_device) |
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 <cstdio> | |
| #include <cstdarg> | |
| #include <string> | |
| #include <exception> | |
| // #include <cstdlib> | |
| // #include <vector> | |
| // #include <iostream> | |
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 <cstdio> | |
| #include <cstdlib> | |
| // int main() | |
| // { | |
| // const size_t size = sizeof(char)*8; | |
| // for(size_t l=0; l<8; ++l) { | |
| // const size_t i_begin = 1<<l; | |
| // const size_t i_end = 1<<(l+1); | |
| // for(size_t i=i_begin; i<i_end; ++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
| #!/usr/bin/env ruby | |
| # -*- coding: utf-8 -*- | |
| require 'nokogiri' | |
| require 'net/http' | |
| require 'net/https' | |
| hostname_tbl = {} | |
| hostname_tbl["01:23:45:67:89:Ab"]="hoge.local" |
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
| // javascript: | |
| var k=document.querySelector("meta[name='keywords']");if(k){window.open('https://dimora.jp/freeword-search/'+encodeURIComponent(k.content.split(",")[0]));}void(0); |
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/ruby | |
| require 'csv' | |
| require 'uri' | |
| CSV.foreach("lastpass.csv") do |row| | |
| url=row[0] | |
| username=row[1] | |
| password=row[2] | |
| name=row[3] | |
| grouping=row[4] |
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 <cstdio> | |
| #include <cstdlib> | |
| #include <typeinfo> | |
| #include <vector> | |
| class deleter_base | |
| { | |
| public: |
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 <cstdio> | |
| #include <cstdlib> | |
| template<int x> | |
| struct from_int | |
| { | |
| const static double value; | |
| }; | |
| template<int x> | |
| const double from_int<x>::value = 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
| #!/usr/bin/ruby | |
| IO.popen("sudo -Hs", "r+") do |sudo| | |
| sudo.puts "echo login_test" | |
| testmes = sudo.gets | |
| if testmes != "login_test\n" | |
| break | |
| end | |