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
| /** | |
| * Like, basically PERFECT scrollbars | |
| */ | |
| /* | |
| It's pure CSS. | |
| Since a quick google search will confirm people going crazy about Mac OS Lion scrollbars... | |
| this has no fade-out effect. | |
| In Mac OS Lion, the lowest common denominator is always showing scrollbars by a setting. |
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
| menuCommandString,UI MenuString zh_CN | |
| ------------------------------------- | |
| new,新建 | |
| newFromTemplate,从模板新建 | |
| open,打开 | |
| saveacopy,存储副本 | |
| Adobe AI Save For Web,存储为 Web 所用格式(W) | |
| Adobe AI Save Selected Slices,存储选中的切片 | |
| revert,恢复 | |
| AI Place,置入(L) |
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
| document.getElementsByTagName("body")[0].innerHTML="<div id='qrcode' style='position:absolute; top:0; left:0; z-index:99993; width:550px; height:550px;background-color:#fff; padding:49px; border:1px solid #ccc'><img src='http://chart.apis.google.com/chart?cht=qr&chs=500x500&choe=UTF-8&chld=H&chl="+window.location+"' /></div>" |
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
| ################################################################# | |
| ## Written by: Assil Ksiksi ## | |
| ## ## ## ## | |
| ## Scrapes IMDB for movie IDs, makes API requests, then writes ## | |
| ## the results to a database. ## | |
| ## ## ## ## | |
| ################################################################# | |
| import re, requests, sqlite3, json, time |
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/sh | |
| ### | |
| # SOME COMMANDS WILL NOT WORK ON macOS (Sierra or newer) | |
| # For Sierra or newer, see https://github.com/mathiasbynens/dotfiles/blob/master/.macos | |
| ### | |
| # Alot of these configs have been taken from the various places | |
| # on the web, most from here | |
| # https://github.com/mathiasbynens/dotfiles/blob/5b3c8418ed42d93af2e647dc9d122f25cc034871/.osx |
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 | |
| D = bpy.data | |
| test_file = 'firefly_test_pattern_2.tga' | |
| # my test image is 24 px wide and 7 px heigh | |
| # download here if you want to test along. | |
| #alias if you can | |
| img = D.images[test_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
| def is_firefly(rgba): | |
| if (any(rgba) == 1.0) and (sum(rgba) > 3.8): | |
| return True | |
| """ found coordinates to look at """ | |
| pixels_of_interest = [[28,764]] | |
| #[ [424,706], [178,864], [67,68], [58,110], | |
| # [16,123], [21,169], [81,218], [49,422], | |
| # [56,603], [29,637], [60,643], [31,686], |
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
| using UnityEngine; | |
| using UnityEditor; | |
| using System.IO; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class CleanUpWindow : EditorWindow | |
| { | |
| bool groupEnabled = true; | |
| List<string> usedAssets = new List<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
| var MathHelper = { | |
| // Get a value between two values | |
| clamp: function (value, min, max) { | |
| if (value < min) { | |
| return min; | |
| } | |
| else if (value > max) { | |
| return max; | |
| } |
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> | |
| <html lang="en"> | |
| <head> | |
| <!-- Le styles --> | |
| <link href="../bootstrap/css/bootstrap.css" rel="stylesheet"> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> | |
| </head> | |
| <body> |