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
Sub f() | |
For i = 20 To 30 | |
For j = 5 To 5 | |
Cells(i, j).Interior.Color = Cells(i, 10).DisplayFormat.Interior.Color | |
Next | |
Next | |
End Sub |
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 <cstdio> | |
using namespace std; | |
unsigned int win[1000000]; | |
int main(void) | |
{ | |
int t, n, k; |
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
# nmcli con add type wifi ifname wlp3s0 con-name work-wifi ssid work-ssid | |
# nmcli con edit id work-wifi | |
nmcli> set ipv4.method auto | |
nmcli> set 802-1x.eap peap | |
nmcli> set 802-1x.phase2-auth mschapv2 | |
nmcli> set 802-1x.identity myusername | |
nmcli> set 802-1x.password mypassword | |
nmcli> set wifi-sec.key-mgmt wpa-eap | |
nmcli> save | |
nmcli> activate |
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
(In function) | |
defer func() { | |
log.Fatal("defer1") | |
if r := recover(); r != nil { | |
log.Fatal("ERROR") | |
} | |
} | |
rows, err := db.Query(sql) | |
if err != nil { |
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
void setup() | |
{ | |
size(400, 300); //window size | |
} | |
void draw() | |
{ | |
background(255, 255, 255); //clear the window with background color (Red, Green, Blue) | |
strokeWeight(4); // the thickness of line |
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
(ᵔᴥᵔ) |
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 <iostream> | |
using namespace std; | |
bool isPrime(int n) | |
{ | |
//omit 1 | |
for (int i = 2; i*i <= n; i++) { | |
if (n%i == 0) return false; | |
} |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <arpa/inet.h> | |
#include <sys/socket.h> | |
#define BUF_SIZE 1024 | |
void err_h(char *msg); |
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
269,265,275,513,244,739,273 |
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
function choo() { | |
return oChatRoom.valueOf()._oDoc._aMemberList[Math.floor(Math.random()*oChatRoom.valueOf()._oDoc._aMemberList.length)].nickname | |
} | |
oChatRoom._processNotiItem = function(h, f, b) { | |
if (g_sUserId !== f) { | |
return; | |
} | |
var c = b.cafeId; |
NewerOlder