Skip to content

Instantly share code, notes, and snippets.

View ErnestasJa's full-sized avatar

serengeor ErnestasJa

View GitHub Profile
{
// All these settings have been taken from the clang-format manual,
// and can be customised form within Sublime Text settings files.
// Please note, the defaults set below are completely random values.
// Take a look at http://clang.llvm.org/docs/ClangFormatStyleOptions.html
// For examples.
// The style used for all options not specifically set in the configuration.
// Possible "values":
// LLVM
// Example program
#include <iostream>
#include <string>
#include <vector>
#include <type_traits>
struct point
{
float x, y, z;
};
Basic
======
[Shift]+[Mod]+[Enter] - launch terminal.
[Mod]+[b] - show/hide bar.
[Mod]+[p] - dmenu for running programs like the x-www-browser.
[Mod]+[Enter] - toggles windows between master and stack.
[Shift]+[Mod]+[2] - to move window to the 2 tag.
Interesting design of state preserving/clearing
https://libcinder.org/docs/reference/opengl.html
for li in fac.loop_indices:
file.write("+t %g %g\n" % (uv_layer[li].uv.x, uv_layer[li].uv.y))
Application::App...{
***
m_fileSystem = new FileSystem(m_appContext, argv);
m_settingsManager = new SettingsManager(m_appContext); // gets FS pointer through app ctx.
***
}
####################################
MyApplication::Init...{
var fmt = function () {
var append = function(text,append){
if($.isArray(text))
for(var i = 0; i < text.length; i++)
text[i] = text[i] + append;
else
text = text + append;
return text;
},
Dirbtiniai neuronų tinklai, jų sandara, paskirtins, taikymai.
Vienasluoksnis ir daugiasluoksnis perceptronas. Neuronų tiklų sudėtingumas.
@ErnestasJa
ErnestasJa / Flash
Created September 3, 2014 13:15
Flash
Nuotolinė aplinka: vma.ik.su.lt