Skip to content

Instantly share code, notes, and snippets.

{
"policy": null,
"log": {
"access": "",
"error": "",
"loglevel": "warning"
},
"inbounds": [
{
"tag": "proxy",
{
"cells": [
{
"cell_type": "code",
"execution_count": 20,
"metadata": {
"collapsed": false,
"deletable": true,
"editable": true
},
linux-vdso.so.1 (0x00007ffdfd322000)
libOpenImageIO.so.2.4 => /home/rock/projects/build_linux_lite/bin/./lib/libOpenImageIO.so.2.4 (0x00007fc4c8200000)
libOpenImageIO_Util.so.2.4 => /home/rock/projects/build_linux_lite/bin/./lib/libOpenImageIO_Util.so.2.4 (0x00007fc4c8dd3000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fc4c7e00000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc4c8119000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc4c7a00000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc4c8f1a000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fc4c8d94000)
libOpenEXR.so.30 => /home/rock/projects/build_linux_lite/bin/./lib/libOpenEXR.so.30 (0x00007fc4c7600000)
libOpenEXRCore.so.30 => /home/rock/projects/build_linux_lite/bin/./lib/libOpenEXRCore.so.30 (0x00007fc4c808b000)
@sonygod
sonygod / gist:61ebfbe9077e983086a15d794640eadc
Created December 3, 2022 07:22
让visual studio 支持github copiot
https://learn.microsoft.com/en-us/visualstudio/install/troubleshooting-network-related-errors-in-visual-studio?view=vs-2022
'''
Author: sonygod sonygodx@gmail.com
Date: 2022-11-29 14:31:23
LastEditors: sonygod sonygodx@gmail.com
LastEditTime: 2022-11-29 15:07:59
FilePath: \haxec\SConstruct
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
'''
print("... Hello, Scons !")
@sonygod
sonygod / arrayFunction.cpp
Created November 22, 2022 08:21 — forked from jonathanlurie/arrayFunction.cpp
Emscripten and float arrays v2
#include <math.h>
// otherwise C++ function names are mangled
extern "C" {
void float_multiply_array(float *data, int w, int h, int ncpp) {
int length = w*h;
int currentPixelIndex = 0;
import three.Camera;
import js.html.Event;
import three.WebGLRenderer;
import three.Scene;
import js.Browser;
import js.html.Window;
import three.PerspectiveCamera;
class Camera2D {
public function new(scene:Scene, render:WebGLRenderer) {
@sonygod
sonygod / gist:8f2aa225fc60015cd131fad902a61a1e
Created December 14, 2021 03:32
blender bake progress
import bpy, _bpy
class WM_OT_bake_report(bpy.types.Operator):
bl_idname = "wm.bake_report"
bl_label = "Bake Report"
bl_options = {'INTERNAL'}
queue_position: bpy.props.IntProperty()
queue_size: bpy.props.IntProperty()
@sonygod
sonygod / blscript_save_viewport_buffer_as_image.py
Created December 3, 2021 01:30 — forked from a-nakanosora/blscript_save_viewport_buffer_as_image.py
Blender Script - Save viewport buffer as an image
''' blscript_save_viewport_buffer_as_image.py
'''
import bpy
import bgl
def main():
def get_region_view3d():
'''
context = bpy.context
# DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'
# DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2012R2_64_Administrator_nat.ee.gz'
# DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2016_64_Administrator_nat.ee.gz'