This file contains 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
# The trick is to link the DeviceSupport folder from the beta to the stable version. | |
# sudo needed if you run the Mac App Store version. Always download the dmg instead... you'll thank me later :) | |
# Support iOS 15 devices (Xcode 13.0) with Xcode 12.5: | |
sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/15.0 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
# Then restart Xcode and reconnect your devices. You will need to do that for every beta of future iOS versions | |
# (A similar approach works for older versions too, just change the version number after DeviceSupport) |
This file contains 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
- windowsはオフラインアカウントでセットアップ | |
- ネットワークにつなぐ | |
- 識別されてないネットワーク問題 | |
http://www.projectgroup.info/tips/Windows/comm_0064.html | |
- windowsのライセンス認証 | |
- windowsをアップデートする |
This file contains 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 "ofMain.h" | |
double frac_table[101]; | |
double frac(int n) { | |
double v = 1; | |
for(int i = 1; i <= n; i++) { | |
v *= i; | |
} | |
return v; |
This file contains 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 | |
# -*- coding: utf-8 -*- | |
# this is a quick implementation of http://arxiv.org/abs/1508.06576 | |
# BUT! This is kind of dirty. Lots of hard coding. | |
import numpy as np | |
import math | |
from chainer import cuda, Function, FunctionSet, gradient_check, Variable, optimizers | |
import chainer.functions as Fu |
This file contains 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 "ofMain.h" | |
namespace stack_blur { | |
template<class T> struct stack_blur_tables { | |
static uint16_t const g_stack_blur8_mul[255]; | |
static uint8_t const g_stack_blur8_shr[255]; | |
}; | |
//------------------------------------------------------------------------ |
This file contains 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
(* | |
collect all windows | |
http://apple.stackexchange.com/questions/709/how-to-retrieve-windows-that-have-moved-off-screen | |
http://d.hatena.ne.jp/hirose31/20111213/1323761962 | |
*) | |
property processesToIgnore : {} | |
tell (do shell script "/usr/sbin/system_profiler SPDisplaysDataType | grep Resolution | tail -n 1") to set {screen_width, screen_height} to {word 2, word 4} |
This file contains 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
BasedOnStyle: Google | |
Standard: Cpp03 | |
# BreakBeforeBraces: Allman | |
PointerBindsToType: true | |
DerivePointerBinding: false | |
# tab | |
UseTab: Always | |
TabWidth: 4 |
This file contains 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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 14, | |
// font family with optional fallbacks |
This file contains 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
/* | |
* Copyright (c) 2012 Masaki Saito | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
This file contains 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
/* | |
* "stackblur" | |
* originally, Mario Klingemann, [email protected] | |
* this implementation, Benjamin Yates ([email protected]) | |
* http://incubator.quasimondo.com/processing/stackblur.pde | |
* | |
* this blur routine seems to be quite popular. | |
* | |
* unfortunately, mario didn't comment anything. | |
* but, it's easy to see it's just a flavor of a two-pass |
NewerOlder