Skip to content

Instantly share code, notes, and snippets.

View expressiveco's full-sized avatar
🎯
Focusing

Mustafa Yücel expressiveco

🎯
Focusing
View GitHub Profile
@expressiveco
expressiveco / OrbitControls.js
Last active September 8, 2020 11:59
OrbitControls for Three.js editor
// Modified Three.js OrbitControls(https://threejs.org/examples/js/controls/OrbitControls.js) to use in Threejs Editor.
// OrbitControls cannot be used in threejs editor because THREE object is sealed or extensibility prevented.
// MyTHREE is used instead of THREE.
/*
Usage: Load it with following
function loadOrbitControls()
{
var orbitcontrols = document.createElement('script');
var controls = null;
@expressiveco
expressiveco / README.md
Last active April 20, 2019 14:09
xlsx test

xlsx test

@expressiveco
expressiveco / MyWeb.js
Last active June 27, 2023 15:36
Refreshing React Native WebView to initial url
export default class MyWeb extends Component {
mainUrl = "https://facebook.github.io/";
state = {
url: this.mainUrl,
};
render() {
return [
<WebView
key="comp1"
@expressiveco
expressiveco / README.md
Last active May 30, 2018 13:03
Merging json files
  • For merging json file there are lot of packages like "merge-jsons-webpack-plugin" but they restrict the file extension to json.
  • But, datatables languages files have .lang extension(symbolic links might be considered but it might be cumbersome or useless effort)
  • So, i decided to write it straight forward and come up with this code.
  • I take advantage of CopyWebpackPlugin and did not write an extra webpack plugin.