๐
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
<?php | |
/* | |
* Link: https://fb.com/10159955933216101 | |
*/ | |
$arr1 = array( | |
array( | |
'id'=> 1, | |
'nama' => 'anto', | |
'alamat' => 'jln 101' |
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
// SPDX-License-Identifier: GPL-2.0-only | |
/* | |
* Socket Lost Control. | |
* | |
* Copyright (C) 2022 Ammar Faizi <[email protected]> | |
*/ | |
#ifndef _GNU_SOURCE | |
#define _GNU_SOURCE | |
#endif |
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
// SPDX-License-Identifier: GPL-2.0-only | |
/* | |
* Socket Lost Control. | |
* | |
* Copyright (C) 2022 Ammar Faizi <[email protected]> | |
*/ | |
#ifndef _GNU_SOURCE | |
#define _GNU_SOURCE | |
#endif |
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
// SPDX-License-Identifier: GPL-2.0-only | |
/* | |
* Socket Lost Control. | |
* | |
* Copyright (C) 2022 Ammar Faizi <[email protected]> | |
*/ | |
#ifndef _GNU_SOURCE | |
#define _GNU_SOURCE | |
#endif |
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
// SPDX-License-Identifier: GPL-2.0-only | |
/* | |
* Socket Lost Control. | |
* | |
* Copyright (C) 2022 Ammar Faizi <[email protected]> | |
*/ | |
#ifndef _GNU_SOURCE | |
#define _GNU_SOURCE | |
#endif |
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
#ifndef _GNU_SOURCE | |
#define _GNU_SOURCE | |
#endif | |
#ifndef likely | |
#define likely(EXPR) __builtin_expect(!!(EXPR), 1) | |
#endif | |
#ifndef unlikely |
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
# Link: https://fb.com/1159106481594512 | |
def combinations(a, n): | |
if n == 1: | |
for x in a: | |
yield [x] | |
else: | |
for i in range(len(a)): | |
for x in combinations(a[:i] + a[i+1:], n-1): | |
yield [a[i]] + x |
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
Link: https://fb.com/1159106481594512 | |
Beluga | |
Beluag | |
Belgua | |
Belgau | |
Belaug | |
Belagu | |
Beulga | |
Beulag |
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
// SPDX-License-Identifier: GPL-2.0-only | |
/* | |
* Copyright (C) 2022 Ammar Faizi <[email protected]> | |
* | |
* A Simple multi-threaded coroutine written in C. | |
* Running on Linux x86-64. | |
*/ | |
#ifndef _GNU_SOURCE | |
#define _GNU_SOURCE |
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
; This is a program to reverse string. | |
; Link System V ABI x86-64: https://gitlab.com/x86-psABIs/x86-64-ABI/-/wikis/home | |
; Link discussion: https://t.me/GNUWeeb/583153 | |
section .data | |
INPUT db "QWERTYUIOPASDFGHJKL", 0 | |
section .text | |
global _start |