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
# from https://blenderartists.org/t/how-to-bake-alembic-mesh-to-keyframes-for-nla/1461379/12 | |
import bpy | |
ob = bpy.context | |
obAc = ob.active_object | |
mesh_data = obAc.data | |
start_frame = bpy.context.scene.frame_start | |
end_frame = bpy.context.scene.frame_end |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"id": "01coin", | |
"symbol": "zoc", | |
"name": "01coin" | |
}, | |
{ | |
"id": "0chain", | |
"symbol": "zcn", | |
"name": "Zus" |
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
require 'json' | |
# Read the JSON data from the original file line by line | |
modified_data = '' | |
File.foreach('original_file.jsonl') do |line| | |
# Parse the line as a JSON object | |
json_object = JSON.parse(line) | |
# Remove the 'category' and 'context' fields from the JSON object | |
json_object.delete('category') |
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
M107 T0 | |
M104 S0 | |
M104 S0 T1 | |
M140 S0 | |
G92 E0 | |
G91 | |
G1 E-1 F300 | |
G1 Z+0.5 E-5 X-20 Y-20 F9000 | |
G28 X0 Y0 | |
M84 ;steppers off |
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
rm -rf /home/.cache/nvidia/GLCache | |
rm -rf /home/.nv/ComputeCache | |
rm -rf /var/tmp/OptiXCache |
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
struct drawingLocation{ | |
int x,y,w,h; | |
}; | |
std::vector<drawingLocation> drawingLocations; | |
void recursion(int x, int y, int width) { | |
int index = 0; | |
int count = 2; | |
int size = width/count; | |
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 "ofApp.h" | |
//-------------------------------------------------------------- | |
void ofApp::setup(){ | |
gui.setup(); | |
backgroundColor = ofColor(0, 0, 0); | |
} | |
//-------------------------------------------------------------- | |
void ofApp::update(){ |
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
SUPPORTED: | |
Message Objects: | |
!= | |
% | |
& | |
&& | |
* | |
+ | |
- | |
/ |
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
require 'net/http' | |
require 'json' | |
require 'openssl' | |
class Yandex | |
uri = URI('https://api-metrika.yandex.net/management/v1/counters') | |
Net::HTTP.start(uri.host, uri.port, :use_ssl => uri.scheme == 'https', :verify_mode => OpenSSL::SSL::VERIFY_NONE) do |http| | |
req = Net::HTTP::Post.new(uri) | |
req['Authorization'] = 'OAuth ВАШ_OAUTH_ТОКЕН' | |
req['Content-Type'] = 'application/x-yametrika+json' |
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
.justified-gallery | |
width: 100% | |
position: relative | |
overflow: hidden | |
> | |
a, div | |
position: absolute | |
display: inline-block | |
overflow: hidden | |
filter: "alpha(opacity=10)" |
NewerOlder