Discover Gists

View gist:1
1 2 3 4 5 6
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.
View Zadatak 2
1 2 3 4 5 6 7 8 9 10
 
#include <iostream>
#include <cstring>
using namespace std;
 
struct st{
int god[10000];
int serial[10000];
string proizvodjac[10000];
string model[10000];
View sick c0dez
1 2 3 4 5 6 7 8 9 10
<% fields_for @public_key do |f| -%>
<p>
<%= f.label :title %><br />
<%= f.text_field :title %><br /><br />
</p>
<p>
<%= f.label :key %><br />
<%= f.text_area :key %>
</p>
<% end -%>
View Z2_stog_polje_isantala
1 2 3 4 5 6 7 8 9 10
struct tauto {
int sb;
char pro[30];
char mod[30];
int god;
} auto;
struct stack {
int sb[21];
char pro[21][30];
View Imp_pomocu_pokazivaca
1 2 3 4 5 6 7 8 9 10
#include<iostream>
#include<cstdlib>
#include<cstring>
 
using namespace std;
 
struct Auto{
int serijski_br;
char proizvodac[35];
char model[35];
View gist:11
1 2 3 4 5 6 7 8 9 10
I would like to propose moving support for the PulseAudio sound server into Arch Linux proper. This would also be in preparation for the eventual arrival of Gnome 3, since it will be unlikely we can effectively maintain the needed GStreamer patch any more.
 
To that effect I have created a plan:
 
---
 
To provide PulseAudio in [extra]...
 
Move the following packages from [community] to [extra]:
- libasyncns
View gist:12
1 2 3 4 5 6 7 8 9 10
http://pastie.caboo.se/pastes/create--- /Users/ioio/Downloads/KeyRemap4MacBook-6.99.0/files/prefpane/include/simultaneouskeypresses_vimode.xml 2010-11-12 18:21:47.000000000 +0100
+++ /Users/ioio/Downloads/KeyRemap4MacBook-6.9.69/files/prefpane/include/simultaneouskeypresses_vimode.xml 2010-11-14 20:43:08.000000000 +0100
@@ -8,7 +8,8 @@
<appendix>Push S and D keys simultaneously and keep them pressing.</appendix>
<appendix>Then you can use Vi style navigation by HJKL.</appendix>
<appendix>- HJKL to Left/Down/Up/Right</appendix>
- <sysctl vk_config="true">notsave.simultaneouskeypresses_vimode</sysctl>
+ <sysctl>notsave.simultaneouskeypresses_vimode</sysctl>
+ <vk_config>true</vk_config>
<autogen>--ShowStatusMessage-- Vi Mode</autogen>
View gist:14
1 2 3 4 5 6 7 8 9 10
--- /Users/ioio/Downloads/KeyRemap4MacBook-6.99.0/files/prefpane/include/simultaneouskeypresses_vimode.xml 2010-11-12 18:21:47.000000000 +0100
+++ /Users/ioio/Downloads/KeyRemap4MacBook-6.9.69/files/prefpane/include/simultaneouskeypresses_vimode.xml 2010-11-14 20:43:08.000000000 +0100
@@ -8,7 +8,8 @@
<appendix>Push S and D keys simultaneously and keep them pressing.</appendix>
<appendix>Then you can use Vi style navigation by HJKL.</appendix>
<appendix>- HJKL to Left/Down/Up/Right</appendix>
- <sysctl vk_config="true">notsave.simultaneouskeypresses_vimode</sysctl>
+ <sysctl>notsave.simultaneouskeypresses_vimode</sysctl>
+ <vk_config>true</vk_config>
<autogen>--ShowStatusMessage-- Vi Mode</autogen>
View Glavni program
1 2 3 4 5 6 7 8
#include <iostream>
using namespace std;
 
#include "stog_pokazivaci.h"
//#include "stog_polje.h"
 
int kraj_rek;
bool print;
View gist:16
1 2 3 4 5 6 7 8 9 10
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
if (orientation == UIInterfaceOrientationLandscapeRight || orientation == UIInterfaceOrientationLandscapeLeft ) {
NSLog(@"Landscape");
self.pageWidth = size.width;
self.pageHeight = size.height;
}
else {
NSLog(@"Portrait");
self.pageWidth = size.height;
self.pageHeight = size.width;
Something went wrong with that request. Please try again.