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
import math | |
from math import pi, sin, cos | |
def generate_cameras(count=1, | |
position_start='0 5 25', | |
gaze_start='0 0 -1', | |
up_start='0 1 0', | |
near_plane='-1 1 -1 1', | |
near_distance='1', | |
near_distance_end=None, |
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
[ 2300.849559] ------------[ cut here ]------------ | |
[ 2300.849560] nouveau 0000:01:00.0: timeout | |
[ 2300.849631] WARNING: CPU: 4 PID: 2214 at drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c:51 gk104_fifo_gpfifo_kick_locked+0xe5/0x120 [nouveau] | |
[ 2300.849631] Modules linked in: binfmt_misc wireguard(OE) ip6_udp_tunnel udp_tunnel fuse xt_CHECKSUM tun bridge stp llc nf_conntrack_netbios_ns(-) nf_conntrack_broadcast xt_CT ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_conntrack ebtable_nat ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat iptable_mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables sunrpc vfat fat snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_rapl ledtrig_audio x86_pkg_temp_thermal intel_powerclamp snd_hda_intel snd_hda_codec coretemp snd_hda_core snd_hwdep snd_seq iTCO_wdt iTCO_vendor_supp |
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
// SPDX-License-Identifier: GPL-2.0-or-later | |
/* | |
* Actions Semi Leopard | |
* | |
* This file is based on arm realview smp platform. | |
* | |
* Copyright 2012 Actions Semi Inc. | |
* Author: Actions Semi, Inc. | |
* | |
* Copyright (c) 2017 Andreas Färber |
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
!vØx02x25.Q£øx22ô(x22Ò/x06rx02Ô h/8x11GÍ$uIfòªÕx07CaÛÔx190þîdé.F¥x07À8x03¤´\í# | |
ÊC,ñíÔx11x01÷C|¹´«=ýÛÑ!y¡d½àz<;¼ÜDÝÊ |
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 <ctype.h> | |
unsigned int get_index(int c) | |
{ | |
if (isupper(c)) | |
return c - 'A'; | |
else if (islower(c)) | |
return c - 'a' + 26; | |
else if (isdigit(c)) |
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 "vigenere.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <ctype.h> | |
#define TEXT "VRJIF XTUOT WBBNH RVCMO XFRET ABQXV FLHDG ROIEI ZQJTR LAUTC ELXMC UAWLW AYIOX JAIEI BHBWD PSVJX FRGXV FPNWN YXNGS KMPAI QTBTT RNBPJ SYWGU LPBVG BIVBH TNRWB IGAWV BZGLW MMYJN WBBTG RPYNY IUNHA EFEGW FLTRS FXEPS FXART NWCYO JNTXC FXAQM ICAMG OKCUF MLTSZ FIPIU VRTNL OCBTI GQHVO FRPBJ EHHHY ZUHVP BBUIH DARVW GEEEC HTHZV OACSG MZXHF BAIRW FMGOE FXYZO GELPI UIQRR BMTHA UBSLE OSSAH X" | |
#define KEY "FXAAA" | |
int main(int argc, char **argv) |
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 "vigenere.h" | |
#include <ctype.h> | |
#include <string.h> | |
void encipher(char *ptext, const char *key) | |
{ | |
size_t klen; | |
int i, j; | |
for (i = j = 0, klen = strlen(key); ptext[i] != '\0'; i++, j++) { | |
int tchar = ptext[i]; |
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
#ifndef _VIGENERE_H | |
#define _VIGENERE_H | |
void encipher(char *ptext, const char *key); | |
void decipher(char *ctext, const char *key); | |
#endif |
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> | |
#include <string> | |
#include <ctype.h> | |
using std::string; | |
using std::cin; | |
using std::cout; | |
using std::endl; | |
using std::getline; |
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> | |
int main() | |
{ | |
puts( | |
"h" "e" """""""""""""""" | |
"l" "l" "" "" | |
"o" " " "" "" | |
"w" "o" "" "" | |
"r" "" "" |
NewerOlder